mysql - Python working with MAMP -
i have been struggling days. installing / uninstalling / starting over.
i attempting python working mysql mamp , have followed many tutorials seems point testing import mysqldb module.
below error receive. advice on how continue?
>>> import mysqldb traceback (most recent call last): file "<stdin>", line 1, in <module> file "/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/mysql_python-1.2.4b4-py2.7-macosx-10.5-intel.egg/mysqldb/__init__.py", line 19, in <module> import _mysql importerror: dlopen(/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/mysql_python-1.2.4b4-py2.7-macosx-10.5-intel.egg/_mysql.so, 2): library not loaded: libmysqlclient.16.dylib referenced from: /library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/mysql_python-1.2.4b4-py2.7-macosx-10.5-intel.egg/_mysql.so reason: image not found
Comments
Post a Comment