MySQL Forums
Forum List  »  Connector/Python

Re: Problems in building 1.2.2 on Mac OS 10.5
Posted by: Geert Dekkers
Date: March 13, 2008 02:05AM

Hi all,

I've been searching all over for a solution to my problem, which is similar to what you guys have been experiencing. I have a mac mini running 10.5.2, and as it's a new machine, its running apache2 as 64-bit. I also have mysql running as 64-bit. The mac mini is supposed to be running a django project using mysql, so I need MySQLdb. This builds and installs (all fixes above applied) but will not run, complaining thus:

>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.5-i386/egg/MySQLdb/__init__.py", line 19, in <module>
File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 7, in <module>
File "build/bdist.macosx-10.5-i386/egg/_mysql.py", line 6, in __bootstrap__
ImportError: dynamic module does not define init function (init_mysql)
>>>


I've been looking at this as if it were a problem related to the architecture, so I've tried all manner of solutions to get a full fat installation. But I may be barking up the wrong tree altogether.

Does anyone have this same problem? And a fix perhaps?

Geert

Options: ReplyQuote


Subject
Written By
Posted
Re: Problems in building 1.2.2 on Mac OS 10.5
March 13, 2008 02:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.