I am using crontab to run a python script that requires the module MySQLdb. When I run this script from the command line everything works fine. However, trying to run it using crontab elicits this error.
Traceback (most recent call last):
File "clickout.py", line 3, in <module>
import MySQLdb
ImportError: No module named MySQLdb
I did a google search and added this to the top of my script #!/usr/bin/python. However, this didn't do anything and I am still getting the same error. What am I doing wrong?