2014-04-29 44 views
0

安装beeswithmachineguns我一直试图运行ERROR PIP在OSX

sudo pip install beeswithmachineguns on my macbook 

错误日志时,得到一个错误是这样的:

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.

building 'Crypto.Hash._MD2' extension

clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]

clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

error: command 'cc' failed with exit status 1

我想通了,是什么原因导致这种见下面的答案。

回答

0

我直接回答这个问题,作为任何其他人的参考。

的问题是,最新的(5.1)的Xcode附带了对待未知传递的参数为错误编译器的版本,这里有一个职位,让你的命令绕过“错误”

http://bruteforce.gr/bypassing-clang-error-unknown-argument.html

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install beeswithmachineguns