[Serusers] Error when importing MySQLdb

Nicky nicky at caliber.com.sg
Thu Jan 13 12:21:23 CET 2005


Dear all,

Please help I am facing this the error below, I am using Python 2.3.4, MySQLdb from MySQL-python-1.0.1 and mysql version 4.1.18. 
Someone please advice what is the problem I am lost already. Thanks.
File "/root/answer_machine/plug-in/ivr/scripts/ivr.py", line 6, in ?
import MySQLdb
File "/usr/local/lib/python2.3/site-packages/MySQLdb/__init__.py", line 42, in ?
from MySQLdb.times import Date, Time, Timestamp, \
File "/usr/local/lib/python2.3/site-packages/MySQLdb/times.py", line 17, in ?
from stringtimes import *
File "/usr/local/lib/python2.3/site-packages/MySQLdb/stringtimes.py", line 3, in ?
from time import strftime, localtime

ImportError: /usr/local/lib/python2.3/lib-dynload/time.so: undefined symbol: PyExc_IOError
(31600) ERROR: run (IvrPython.cpp:908): IVR PYTHON Error: Failed to run "/root/answer_machine/plug-in/ivr/scripts/ivr.py"
(31600) ERROR: stop (AmThread.cpp:86): pthread_detach failed with code 3

Regards,
Nicky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050113/b91c1272/attachment.htm>


More information about the sr-users mailing list