Error Importing MySQLdb

David George dgeorge at
Sun Jan 8 16:37:45 EST 2012

Hello there,
I have been trying for awhile now to get MySQLdb working. I am currently 
getting this error when trying to import it:

 >>> import MySQLdb

Traceback (most recent call last): File "", line 1, in File 
"build/bdist.macosx-10.7-intel/egg/MySQLdb/", line 19, in File 
"build/bdist.macosx-10.7-intel/egg/", line 7, in File 
"build/bdist.macosx-10.7-intel/egg/", line 6, in bootstrap 
2): Library not loaded: /usr/local/lib/libmysqlclient.18.dylib 
Referenced from: 
Reason: image not found

Anyone know what I need to do in order to correct these errors.


More information about the Python-list mailing list