Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27262

Re: Python 2.7 import socket urllib fails to load, module not found

From Emile van Sebille <emile@fenx.com>
Subject Re: Python 2.7 import socket urllib fails to load, module not found
Date 2012-08-17 12:39 -0700
References <22db6f61-180c-47ce-a0c3-3315b40b8315@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3429.1345232370.4697.python-list@python.org> (permalink)

Show all headers | View raw


On 8/17/2012 12:20 PM wdtate@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 2.7.0.2 (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?

Emile


> 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
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 12:20 -0700
  Re: Python 2.7 import socket urllib fails to load, module not found Emile van Sebille <emile@fenx.com> - 2012-08-17 12:39 -0700
    Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 13:41 -0700
      Re: Python 2.7 import socket urllib fails to load, module not found Emile van Sebille <emile@fenx.com> - 2012-08-17 13:57 -0700
        Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:15 -0700
          Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:22 -0700
            Re: Python 2.7 import socket urllib fails to load, module not found Emile van Sebille <emile@fenx.com> - 2012-08-17 15:40 -0700
          Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:22 -0700
        Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:15 -0700
    Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 13:41 -0700
  Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:21 -0700
  Re: Python 2.7 import socket urllib fails to load, module not found Christian Heimes <lists@cheimes.de> - 2012-08-18 00:58 +0200

csiph-web