ImportError: No module named 'MySQLdb'
<p>I did a lot of research but couldn't find any solution for this 
I keep getting this error:</p>

<pre><code>Traceback (most recent call last):
File "test.py", line 2, in &lt;module&gt;
  import MySQLdb
ImportError: No module named 'MySQLdb'
</code></pre>

<p>I installed this as well: and got this.</p>

<pre><code>yesh@Yesh:~/DBMS$ sudo apt-get install python-mysqldb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-mysqldb is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
</code></pre>

<p>Someone please help me with this. I guess it has something to do with environment variables. I don't know exactly what that is. Thanks in advance</p>