#291 easy_install fails on MacOSX

MySQLdb (285)

I've been trying to install MySQLdb using easy_install on MacOSX 10.6.1, but the error messages inform the pre-built libraries are compiled for a different architecture. Although, it seems to work if I clean & build & install it manually.

Beyond that, the manual installation copies MySQL_python-1.2.3c1-py2.6-macosx-10.6-universal.egg to the site-packages directory, but if I run a python shell, and try to import MySQLdb, it's missing. Wasn't the install supposed to copy the MySQLdb directory (with .pyc's) to the site-packages as well?

The log with the necessary information is attached. Please, let me know if you need something else.


  • Kyle VanderBeek

    Kyle VanderBeek - 2010-06-17

    SVN change 642 in the 1.2 branch should address this. The -arch flags needed to be passed at linking time as well as compile time to generate the correct loadable .so module.

  • Kyle VanderBeek

    Kyle VanderBeek - 2010-06-17

    1.2.3 has been released.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks