Mac OS X Snow Leopard non può installare readline python 2.7

0

Quando provo

pip install readline

o

easy_install readline

Ho ricevuto il seguente errore

Running readline-6.1.0/setup.py -q bdist_egg --dist-dir /var/folders/uX/uXgzCdzXEfSGJugKNxAMx++++TI/-Tmp-/easy_install-XhqAku/readline-6.1.0/egg-dist-tmp-I7rsWF
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
lipo: can't open input file: /var/folders/uX/uXgzCdzXEfSGJugKNxAMx++++TI/-Tmp-//cc3nFYj0.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1

Altho per Python 2.6.1 trova readline-6.1.0-py2.6-macosx-10.6-universal.egg e funziona bene, risolvendo readline per ipython per 2.6.1. Nessuna gioia per 2.7 comunque.

    
posta Scott B 09.05.2011 - 05:22
fonte

Leggi altre domande sui tag