-----Original Message----- From: Shirley Toh Sent: Tuesday, April 20, 2004 8:15 PM To: 'serusers@lists.iptel.org' Subject: FW: Python Script with IVR
Hi all,
I am trying to read the import MySQLdb into the ivr.py script to read values from the sql database but I got error in missing modules. Please help. What should I do to be able to read values from the database in the ivr.py script for development purpose. Please help......Thanks in advance.
Traceback (most recent call last): File "/root/answer_machine/plug-in/ivr/scripts/ivr.py", line 4, in ? import MySQLdb File "/usr/lib/python2.2/site-packages/MySQLdb/__init__.py", line 27, in ? import _mysql ImportError: No module named _mysql (11533) WARNING: sig_usr (sems.cpp:72): signal 17 received (11533) INFO: sig_usr (sems.cpp:81): finished
Regards, Shirley