On Sun, 28 Nov 2010 14:32:40 +0100, salvatore monaco <salvatore.mon...@gmail.com> wrote: > Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) > [GCC 4.0.1 (Apple Inc. build 5493)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> import MySQLdb > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "build/bdist.macosx-10.3-i386/egg/MySQLdb/__init__.py", line 19, in > <module> > File "build/bdist.macosx-10.3-i386/egg/_mysql.py", line 7, in <module> > File "build/bdist.macosx-10.3-i386/egg/_mysql.py", line 6, in > __bootstrap__ > ImportError: > dlopen(/Users/easyboy/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.3-i386.egg-tmp/_mysql.so, > 2): no suitable image found. Did find: > /Users/easyboy/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.3-i386.egg-tmp/_mysql.so: > mach-o, but wrong architecture >>>> > > vi e' mai successo ?
Sembra la stessa rogna che regolarmente incontra chi prova ad usare psycopg su mac osx. Ho raccolto un po' di pointer a soluzioni in questo articolo: <http://initd.org/psycopg/articles/2010/11/11/links-about-building-psycopg-mac-os-x/>. Potresti dare un'occhiata e vedere se qualcuno ti risolve il problema. -- Daniele Varrazzo - Develer S.r.l. http://www.develer.com _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python