Traceback when trying to run script from cron?

erikcw erikwickstrom at gmail.com
Sat Apr 14 21:56:00 EDT 2007


Hi all,

When trying to run this python script from cron, I get the following
error:


Traceback (most recent call last):
 File "/home/lybp/public_html/wa/wa.py", line 14, in ?
   import MySQLdb
ImportError: No module named MySQLdb

The cron command is python /home/lybp/public_html/wa/wa.py

Any idea why MySQLdb wouldn't like this?

Thanks!
Erik




More information about the Python-list mailing list