Problem importing in a cgi script

Andrew Markebo flognat at flognat.myip.org
Thu Jul 18 06:48:12 EDT 2002


/ "Justin Shaw" <wyojustin at hotmail.com> wrote:
| I printed out the tb info to help troubleshoot:
| Traceback (most recent call last):
| File "gnuplot_cgi.py", line 4, in ?
|   import cgi
| ...
| ...
| File "/usr/local/lib/python2.2/socket.py", line 41, in ?
|   from _socket import *
| Import Error: ld.so.1: /usr/local/bin/python: fatal: libgcc_s.so.1: open
| failed:

Seems like you need to either recompile your python, or install gcc on
the new system.

        /Andy

-- 
 The eye of the beholder rests on the beauty!



More information about the Python-list mailing list