1. 搜索 clang error unknown argument, 出现的大部分结果是: ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install mitmproxy 然而这个方法没有解决问题。 之后,在stackoverflow中搜到 http:///questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa 最高票的解决方法:
之后再用pip install(superuser可能需要用到sudo -E pip install)来安装,就成功了。 这个答案中还提到了: This problem occurs with any Python package that includes a C module |
|