9 de mayo de 2011

How to install pycripto in Mac OS X Snow Leopard

The command:

$ pip install pycrypto

throws this error:

(....lots of lines....)
error: command 'gcc-4.2' failed with exit status 1

try this(it worked perfect for me):

$ ARCHFLAGS="-arch i386 -arch x86_64" pip install pycrypto

No hay comentarios: