title: Cannot Import Python MySQL module when running a script using crontab
body: <p>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. </p>
  
  <pre><code>Traceback (most recent call last):
    File "clickout.py", line 3, in &lt;module&gt;
      import MySQLdb
  ImportError: No module named MySQLdb
  </code></pre>
  
  <p>I did a google search and added this to the top of my script <code>#!/usr/bin/python</code>. However, this didn't do anything and I am still getting the same error. What am I doing wrong?                                                                                                                                                                                               </p>