2014-04-29 97 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