Python MySQLdb busted still or again

Status
Not open for further replies.

pdelaque

New Member
Messages
1
Reaction score
0
Points
0
I searched the forums for help on accessing MySQL from Python and I understand that there have been some issues with missing or incompatible MySQLdb module. The last word on the subject seems to be that the issue is closed. However, my Python script still cannot import the MySQLdb module.

In other words, this script:

Code:
[FONT="Courier New"]#!/usr/bin/python

print "Content-Type: text/plain"
print ""
try:
....import MySQLdb
except Exception, e:
....print e
[/FONT]
emits "No module named MySQLdb"

Many thanks in advance for advice or assistance.

Philip
 
Status
Not open for further replies.
Top