

ImportError: dlopen(//anaconda/lib/python2.7/site-packages/MySQL_python-1.2.4-py2.7-macosx-10.5-x86_64.egg/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib The problem is after running above command I don't see any error, but when I try the following command in python shell I see error import MySQLdbĮrror Log: Traceback (most recent call last): bash_profile as follows export PATH="/Applications/XAMPP/xamppfiles/bin/:$PATH"

From this link I downloaded MySQLdb and run following two commands sudo python setup.py build
