pip安装程序错误
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 1Projects using invalid compiler options will need to be changed to remove those options.
To help ease that transition, the compiler will temporarily accept an option to downgrade the error to a warning:
-Wno-error=unused-command-line-argument-hard-error-in-future
To workaround this issue, set the ARCHFLAGS environment variable to downgrade the error to a warning.
For example, you can install a Python native extension with:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future easy_install ExtensionNameSimilarly, you can install a Ruby Gem with:
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install GemName (16214764)
Note: This option will not be supported in the future.
参照:
https://developer.apple.com/library/ios/releasenotes/developertools/rn-xcode/xc5_release_notes/xc5_release_notes.html
http://www.bkjia.com/Pythonjc/779173.html
http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa
http://stackoverflow.com/questions/22413050/cant-install-python-mysql-library-on-mac-mavericks
http://stackoverflow.com/questions/22079173/installing-py-ldap-on-mac-os-x-mavericks-missing-sasl-h
http://stackoverflow.com/questions/22413050/cant-install-python-mysql-library-on-mac-mavericks

本文介绍了如何解决在使用pip安装程序时遇到的错误,特别是针对未知参数'-mno-fused-madd'的问题,并提供了设置环境变量ARCHFLAGS来规避此问题的方法。
1578

被折叠的 条评论
为什么被折叠?



