Yikes!

Traceback (most recent call last):
 File "some_file.py", line 4, in 
 import MySQLdb as mdb
 ImportError: No module named MySQLdb

So how do you fix this on Linux (Ubuntu) ?

sudo apt-get install python-mysqldb

Categories: ContentGeneral

Leave a Reply

Your email address will not be published. Required fields are marked *