danbalthasar
New Member
- Messages
- 8
- Reaction score
- 0
- Points
- 0
Hi,
My previously working python script is now generating import errors - says it can't find MySQLdb. I assume this has something to do with the upgrade and perhaps MySQLdb not being reinstalled... Any chance that it could be reinstalled for stoli?
Here's the error message and offending portion of the script:
Thanks!
Dan
My previously working python script is now generating import errors - says it can't find MySQLdb. I assume this has something to do with the upgrade and perhaps MySQLdb not being reinstalled... Any chance that it could be reinstalled for stoli?
Here's the error message and offending portion of the script:
Code:
2 import cgi, cgitb; cgitb.enable()
3 import MySQLdb, datetime, calendar, re
4 from decimal import Decimal
5 import zipfile, os
6 from os.path import join
MySQLdb undefined, datetime undefined, calendar undefined, re undefined
<type 'exceptions.ImportError'>: No module named MySQLdb
args = ('No module named MySQLdb',)
message = 'No module named MySQLdb'
Thanks!
Dan
Last edited: