Leopard and MySQL

arbo.newmedia at gmail.com arbo.newmedia at gmail.com
Wed Mar 5 05:45:36 EST 2008


Hi,

can anyone help me with MySQL.
I've got Mac OSX Leopard and I'm trying to install MySQLdb for
Python.

I'm running build and it goes withous any errors and install.

But when I'm typing : import MySQLdb in IDLE I've got this:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import MySQLdb
  File "build/bdist.macosx-10.3-fat/egg/MySQLdb/__init__.py", line 19,
in <module>
  File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 7, in
<module>
  File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 6, in
__bootstrap__
ImportError: dlopen(/Users/lisek/.python-eggs/MySQL_python-1.2.2-py2.5-
macosx-10.3-fat.egg-tmp/_mysql.so, 2): Symbol not found:
_mysql_affected_rows
  Referenced from: /Users/lisek/.python-eggs/MySQL_python-1.2.2-py2.5-
macosx-10.3-fat.egg-tmp/_mysql.so
  Expected in: dynamic lookup

And I don't know what is wrong... ;/



More information about the Python-list mailing list