Python 2.7 import socket urllib fails to load, module not found
Emile van Sebille
emile at fenx.com
Fri Aug 17 18:40:51 EDT 2012
On 8/17/2012 2:22 PM wdtate at comcast.net said...
>> Done - tail end of the python path had a missing bit...grrrrr... thanks so much
>
> Well it's bizarre - now it doesn't. did an import sys from within interpreter, then did import socket. Worked the first time. Restarted and it happened again. The sys.path outputs are identical. The print socket.__file__ reveals a file that is in the sys.path...grrrr.
>
Next, I'd check for rogue versions of _socket.pyd in directories
occuring in sys.path.
Emile
More information about the Python-list
mailing list