Module import problem: _socket

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


Hello all,

I just installed Python 2.1.1 on a machine running

Slackware 3.5 (over Python 1.5.2) and I get the

following error while importing some newly installed

modules:

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

I can't find this module in the Python lib (naturally).

Has anyone out there encountered a similar problem?

Thanks for any help you can give 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