我目前正在尝试安装pycrypto,当我执行python setup.py build时,我收到以下错误:
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/_fastmath.o -lgmp -o build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey/_fastmath.so
ld: illegal text-relocation to '___gmp_binvert_limb_table' in /usr/local/lib/libgmp.a(mp_minv_tab.o) from '___gmpn_divexact_1' in /usr/local/lib/libgmp.a(dive_1.o) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'cc' failed with exit status 1
我已经尝试重新安装命令行工具并删除旧的Xcode实例。
任何帮助都是非常感谢的
发布于 2016-01-26 02:56:20
在El Capitan上我刚刚做了这个..。
sudo easy_install livestreamer
sudo easy_install PyCrypto
瞧啊..。我现在可以将流保存到我的硬盘上。
https://stackoverflow.com/questions/19617686
复制相似问题