Error importing cgi module

Sam Crow scrow at
Fri Jun 27 19:01:37 CEST 2003


having a little problem loading python modules.. here is the output
from the interactive environment notice import sys worked correctly. 
when I do a search in the lib driectory for cgi i can find the modules
there as well

>>> import sys
>>> import cgi
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.2/", line 39, in ?
    import urllib
  File "/usr/local/lib/python2.2/", line 26, in ?
    import socket
  File "/usr/local/lib/python2.2/", line 41, in ?
    from _socket import *
ImportError: python: fatal: relocation error: file
/usr/local/lib/ symbol __eprintf: referenced symbol not

any thoughts?

Thank you,
Sam Crow

More information about the Python-list mailing list