簡體   English   中英

cython安裝失敗(-mno-fused-madd未知參數)

[英]cython install failed (-mno-fused-madd unknown argument)

reating build/temp.macosx-10.9-intel-2.7
creating build/temp.macosx-10.9-intel-2.7/Cython
creating build/temp.macosx-10.9-intel-2.7/Cython/Plex
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Cython/Plex/Scanners.c -o build/temp.macosx-10.9-intel-2.7/Cython/Plex/Scanners.o
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

從setup.py安裝Cython時出現此錯誤。 我安裝scikit-learn軟件包時遇到了同樣的錯誤。 (-mno-fused-madd未知參數)

安裝cython之前,有什么需要的軟件包嗎?

非常感謝

您可能需要安裝另一個C編譯器。 嘗試使用GCC進行編譯。

clang: error: unknown argument: '-mno-fused-madd'

或者,您可以編輯配置腳本並更改編譯器標志。

附帶說明,這似乎是您應該報告的錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM