![]() ![]() ![]() usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 438.0.0) ![]() usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1) Libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0) I looked to see, as other posters on here suggested, what _mysql.so is referencing using otool: $ otool -L /Users/foo/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.5-x86_64.egg-tmp/_mysql.so ImportError: dlopen(/Users/foo/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.5-x86_64.egg-tmp/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib Type "help", "copyright", "credits" or "license" for more information.įile "build/bdist.macosx-10.5-x86_64/egg/MySQLdb/_init_.py", line 19, in įile "build/bdist.macosx-10.5-x86_64/egg/_mysql.py", line 7, in įile "build/bdist.macosx-10.5-x86_64/egg/_mysql.py", line 6, in _bootstrap_ However, when I import it, I get the error: $ pythonĮnthought Python Distribution - Version: 7.0-2 (64-bit) I was able to install MySQL-python-1.2.3 using "sudo setup.py install". MySQL, as far as I know, works and lives in the directory /usr/local/mysql-5.5.9-osx10.6-x86/. I tried installing and reinstalling various MySQL packages for 64bit OS X but finally just compiled it from scratch. Many of the issues I ran into have been described in other posts and I'm pretty sure I read all of those, but still cannot fix this issue. I've been trying for weeks and weeks to install MySQL-python with absolutely no luck, on Mac OS X 10.6 with Python 7.0 from the Enthought Python Distribution. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |