Hi, ich wollte gerade Python 2.1.3 (wg. Zope 2.6.2) auf einer RH-9-Box installieren (dort existiert ein Python 2.2.2) und bekomme beim Import von socket folgende Fehlermeldung: Python 2.1.3 (#1, Aug 21 2003, 15:20:38) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "copyright", "credits" or "license" for more information.
import socket Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.1/socket.py", line 41, in ? from _socket import * ImportError: No module named _socket
Was mache ich hier falsch? Python habe ich wie immer mit ./configure, make, make install installiert. *ratlosguck* Jürgen _______________________________________________ Python-de maillist - Python-de@python.net http://python.net/mailman/listinfo/python-de
Jürgen R. Plasser wrote:
Hi,
ich wollte gerade Python 2.1.3 (wg. Zope 2.6.2) auf einer RH-9-Box installieren (dort existiert ein Python 2.2.2) und bekomme beim Import von socket folgende Fehlermeldung:
Python 2.1.3 (#1, Aug 21 2003, 15:20:38) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "copyright", "credits" or "license" for more information.
import socket
Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.1/socket.py", line 41, in ? from _socket import * ImportError: No module named _socket
Was mache ich hier falsch?
Python habe ich wie immer mit ./configure, make, make install installiert.
Es gibt Probleme beim Übersetzen des socket-Moduls in Bezug auf OpenSSL. Dies wurde letzlich auf der internationalen Python-Liste diskutiert, schau mal da nach. Wenn du SSL nicht brauchst (für ZOPE brauchst du es nicht, AFAIK), versuch es einfach bei Build-Prozess abzuschalten. Wäre jetzt mein Tipp. -- Gerhard _______________________________________________ Python-de maillist - Python-de@python.net http://python.net/mailman/listinfo/python-de
Hallo Gerhard, --On 22.08.2003 02:52 +0200 Gerhard Häring wrote:
Es gibt Probleme beim Übersetzen des socket-Moduls in Bezug auf OpenSSL. Dies wurde letzlich auf der internationalen Python-Liste diskutiert, schau mal da nach.
Danke für den Tipp!
Wenn du SSL nicht brauchst (für ZOPE brauchst du es nicht, AFAIK), versuch es einfach bei Build-Prozess abzuschalten. Wäre jetzt mein Tipp.
Habe ich gemacht, dann funktioniert es! Grüße, Jürgen _______________________________________________ Python-de maillist - Python-de@python.net http://python.net/mailman/listinfo/python-de
participants (2)
-
Gerhard Häring
-
Jürgen R. Plasser