Install MySQLdb on osx
Here is the error message I got. ImportError: No module named MySQLdb Below is how you install such module for your python script. brew install mysql brew install python sudo easy_install pip sudo pip install MySQL-python Depending on your file permissions at various directories, you can determine the use of sudo.