Leopard and MySQL

A

arbo.newmedia

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... ;/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top