[英]Cython Installation Error on Os X
我尝试通过pip,easy_install和源代码安装Cython。 我在OsX Maverics上遇到以下错误:
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
我正在使用Python 2.7.5
pip version 1.4.1
如何解决此错误?
这是小牛的问题。 您可以按以下步骤规避此问题:
终奌站:
sudo CFLAGS=-Wunused-command-line-argument-hard-error-in-future pip install cython
这会将错误抑制为警告,从而允许您安装cython。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.