[Python-bugs-list] [ python-Bugs-815999 ] ImportError: No module named _socket

SourceForge.net noreply at sourceforge.net
Sat Oct 11 07:35:41 EDT 2003


Bugs item #815999, was opened at 2003-10-01 13:21
Message generated for change (Comment added) made by jemfinch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=815999&group_id=5470

Category: None
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Stauffert (stauffert)
Assigned to: Nobody/Anonymous (nobody)
Summary: ImportError: No module named _socket

Initial Comment:
Hi

There is a problem during the installation of python 2.3.1:

I used configure with the following options:
./configure --enable-shared=yes --with-signal-
module=yes --with-cxx=/usr/freeware/bin/c++

make runs to the end, only warning messages are 
displayed.

Running "make test" on a SGI Origin200, IRIX 6.5-18 I 
got the following error message:
test test___all__ failed -- Traceback (most recent call 
last):
  File "/install/fw/Python-2.3.1/Lib/test/test___all__.py", 
line 54, in test_all
    import _socket
ImportError: No module named _socket

This looks like the python bug 565710 reported for 
python 2.2.1 which was solved by modifications of 
setup.py in the top level directory.

But setup.py was modified in python 2.3.1 and I could 
not apply the old patch to the new version.

Could you help me with this problem?

Thanks a lot

Peter Stauffert


----------------------------------------------------------------------

Comment By: Jeremy Fincher (jemfinch)
Date: 2003-10-11 07:35

Message:
Logged In: YES 
user_id=99508

I have this same bug on Solaris 7 with 2.3.2.

----------------------------------------------------------------------

Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-10-03 20:24

Message:
Logged In: YES 
user_id=29957

Does the patch available from www.python.org/bugs.html fix
this problem?

Which compiler did you use? From the configure line, above,
it looks like you might be using gcc?


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-10-03 09:28

Message:
Logged In: YES 
user_id=21627

Can you please attach the build log? In particular, it would
be importing to see whether building _socket was attempted,
and failed.

Maybe your compiler just doesn't work???

----------------------------------------------------------------------

Comment By: casey dunn (caseyd)
Date: 2003-10-01 15:53

Message:
Logged In: YES 
user_id=878394

I have seen this on Solaris as well, recent and old vintages.

Casey Dunn

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=815999&group_id=5470



More information about the Python-bugs-list mailing list