错误例子:
error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-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解决方案:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-argumentssudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install zerorpc
http://stackoverflow.com/questions/22697440/cc-failed-with-exit-status-1-error-when-install-python-library
http://bruteforce.gr/bypassing-clang-error-unknown-argument.html
http://kaspermunck.github.io/2014/03/fixing-clang-error/
http://glynjackson.org/weblog/entry/clang-error.html
本文详细介绍了如何解决在使用pip安装Python库时遇到的cc失败退出状态1错误,提供了从环境变量设置到具体代码修改的全面解决方案,并通过链接指向了相关社区讨论和解决方案。
2858

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



