I am trying to make a .sln file for Visual Studio and in that process I am facing  a problem   
File "socket.py", line 47, in 
    import _socket
ImportError: DLL load failed: The specified module could not be found.
This socket.py is present in Python27/Lib folder. 
I have checked there is no other version of python installed which is clashing with Python27.
These kinds of problem generally happens when you have multiple virtual environments of  venv available in your system. 
Check in the preferences of the visual studio / Any other IDE setting, they generally point to a particular venv .  
Change it to point to the venv where this module is installed and then it work
Hope it helps
Thanks
File "socket.py", line 47, in  import _socket ImportError: DLL load failed: The specified module could not be found