[Python] strano "orrore" su mac os x

2010-11-28 Thread salvatore monaco
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 "", line 1, in File "build/bdist.macosx-10.3-i386/egg/MySQLdb/__init_

Re: [Python] strano "orrore" su mac os x

2010-11-28 Thread Roberto De Ioris
> 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 "", line 1, in > File "build/bdist.macosx-10.3-i386/egg/M

Re: [Python] strano "orrore" su mac os x

2010-11-28 Thread salvatore monaco
ho travato un post che suggeriva questo sudo ARCHFLAGS='-arch x86_64' python setup.py build sudo ARCHFLAGS='-arch x86_64' python setup.py install il risultato e': 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 "

Re: [Python] strano "orrore" su mac os x

2010-11-28 Thread Daniele Varrazzo
On Sun, 28 Nov 2010 14:32:40 +0100, salvatore monaco 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