trouble importing module _socket

Scott Kelley kelleys at ucsu.colorado.edu
Wed Jul 25 12:31:38 EDT 2001


Hello all,

I seem to be having a problem importing modules. I am installing on
Slackware 3.5 over a previous installation of Python 1.5.2 . I just
installed Python 2.1 which is working for the most part, but then I get
errors like this one:

  File "/usr/local/lib/python2.1/socket.py", line 41, in ?
    from _socket import *
ImportError: No module named _socket

I can't find any _socket module in the Python libraries.  Also as I was
installing I noticed problems with several modules that didn't seem to
want to install making me think this might be a general problem.

Has anyone out there experienced similar problems and have a notion of
what I can do about it?

I really appreciate any help you can send me. -Scott

------------------------------------------------------------------------------
Scott T. Kelley, Ph.D.                  E-mail: Scott.Kelley at Colorado.edu
Dept. MCD Biology                       Phone : 303-735-1808
Campus Box 347                          Fax   : 303-492-7744
University of Colorado
Boulder, CO  80309-0347
U.S.A.






More information about the Python-list mailing list