Python 2.7 import socket urllib fails to load, module not found
Emile van Sebille
emile at fenx.com
Fri Aug 17 21:39:09 CEST 2012
On 8/17/2012 12:20 PM wdtate at comcast.net said...
> Just installed python 2.7 and using with web2py.
> When running python from command line to bring up web2py server, get errors that python socket and urllib modules cannot be found, can't be loaded. This is not a web2py issue.
So, on my system I get:
ActivePython 18.104.22.168 (ActiveState Software Inc.) based on
Python 2.7 (r27:82500, Aug 23 2010, 17:18:21) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> import socket
What does your system show?
> No other python versions are on the my machine. Pythonpath has the requisite folders identified.
> Would appreciate any insights as to what may be happening.
> thanks in advance
More information about the Python-list