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 usi
Try running
sudo -H pip install MySQLdb
(note the -H option). It worked for me with a similar issue with another package