pip 在MAC上安装库错误clang: error: unknown argument
2014-06-10 15:20
507 查看
pip安装程序错误
Projects 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:
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
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
Projects 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
相关文章推荐
- mac下安装Crypto问题解决 clang: error: unknown argument: '-mno-fused-madd'
- mac 安装 python库时报错clang: error: unknown argument: '-mno-fused-madd'
- 【原】xcode5.0升级5.1遇到的clang: error: unknown argument: '-fobj-arc'错误
- MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误
- 关于mac安装rails报错clang: error: unknown argument
- Mac下brew安装gitk遇到错误Error in startup script: unknown color name "lime"
- python lib 安装遇到报错clang: error: unknown argument: '-mno-fused-madd'
- Wordpress安装插件,发生了一个未知错误(An unknown error occurred)
- pip 错误unused-command-line-argument-hard-error-in-future解决办法
- 【OC易错】Xcode5.0新建OS X下的cmd工程后出现编译错误clang: error: invalid version number in '-mmacosx-version-min=
- 安装Win7和Ubuntu12.04双系统后,意外删除Ubuntu12.04引导文件,出现error:unknown filesystem;grub rescue>错误的解决方案
- Python-解决pip安装库时UnicodeDecodeError的错误
- mac下Spyder 错误:ValueError: unknown locale: UTF-8解决方法
- 【Python学习笔记】macosx 10.11 python pip install 出现错误OSError: [Errno 1] Operation not permitted:
- clang: error: unknown argument: '-mno-fused-madd
- Python使用pip install psycopg2安装psycopg2包出现python setup.py egg_info failed with error code 1 in /tmp/pip-build-YtLeN3/psycopg2错误处理
- MAC下解决pip安装权限问题 OSError: [Errno 13] Permission denied OSError: [Errno 1] Operation not permitted:
- macosx 10.11 python pip install 出现错误OSError: [Errno 1] Operation not permitted:
- Ruby on Rails /MAC 下安装报错 unknown argument: '-multiply_definedsuppress'
- clang: error: unknown argument: 'websockets'解决方法