Installing MySQL-Python on Mac OSX 10.6 64-bit Intel (Snow Leopard) -
Installing MySQL-Python on Mac OSX 10.6 64-bit Intel (Snow Leopard) -
been trying install mysql-python no luck. there plenty of guides out there, many appear incomplete , come own slew of errors.
i can't find formal documentation on operating systems supported each version of mysql-python. @ moment, i'm trying install version 1.2.3 on 64-bit mac running osx 10.6.
the latest error i've received:
python 2.6.1 (r261:67515, aug 2 2010, 20:10:18) [gcc 4.2.1 (apple inc. build 5646)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import mysqldb traceback (most recent phone call last): file "<stdin>", line 1, in <module> file "build/bdist.macosx-10.6-universal/egg/mysqldb/__init__.py", line 19, in <module> file "build/bdist.macosx-10.6-universal/egg/_mysql.py", line 7, in <module> file "build/bdist.macosx-10.6-universal/egg/_mysql.py", line 6, in __bootstrap__ importerror: dlopen(/users/justianmeyer/.python-eggs/mysql_python-1.2.3-py2.6-macosx-10.6-universal.egg-tmp/_mysql.so, 2): no suitable image found. did find: /users/justianmeyer/.python-eggs/mysql_python-1.2.3-py2.6-macosx-10.6-universal.egg-tmp/_mysql.so: mach-o, wrong architecture
running export dyld_library_path=/usr/local/mysql/lib/
after installation, suggested online, did nothing.
although shouldn't matter @ point in install, mysql has been configured , running on system.
is there clear tutorial specific type of installation or guide resolve issue?
edit:
similar issue when installing psycopg2 work postgresql:
python 2.6.1 (r261:67515, aug 2 2010, 20:10:18) [gcc 4.2.1 (apple inc. build 5646)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import psycopg2 traceback (most recent phone call last): file "<stdin>", line 1, in <module> file "/library/python/2.6/site-packages/psycopg2/__init__.py", line 71, in <module> psycopg2._psycopg import binary, number, string, datetime, rowid importerror: dlopen(/library/python/2.6/site-packages/psycopg2/_psycopg.so, 2): symbol not found: _pqbackendpid referenced from: /library/python/2.6/site-packages/psycopg2/_psycopg.so expected in: flat namespace in /library/python/2.6/site-packages/psycopg2/_psycopg.so
from looks of this, looks missing dependencies. be? missing?
python mysql osx-snow-leopard
Comments
Post a Comment