Trying to install pycrypto on Mac OSX mavericks

前端 未结 14 2214
逝去的感伤
逝去的感伤 2020-12-28 17:25

I am currently trying to install pycrypto and when I execute python setup.py build I receive this following error:

cc -bundle -undefined dynamic_lookup -arch         


        
14条回答
  •  情书的邮戳
    2020-12-28 17:40

    For those of you also looking to install pycrypto as well as the cryptography package, this is the command that ended up working for me:

    env ARCHFLAGS="-arch x86_64" LDFLAGS="-L/usr/local/opt/openssl/lib" CFLAGS="-I/usr/local/opt/openssl/include" pip install cryptography

提交回复
热议问题