当我尝试'pip install StyleFrame‘时,我遇到了这个错误,知道这个错误是关于什么的吗?
Command "/Users/pengdanni/Desktop/invoice/venv/bin/python
-m pip install --ignore-installed --no-user --prefix /private/var/folders/g9/1p5yfql51vs118b1r6899rp80000gn/T/pip-build-env-y8qav8ta
--no-warn-script-location --no-binary :none:
--only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython "
numpy==1.9.3; python_version=='3.5'" "numpy==1.12.1;
python_version=='3.6'" "numpy==1.13.1; python_version>='3.7'""
failed with error code 1 in None发布于 2019-01-17 09:07:01
简短答覆:
xcode-select --install请用我的故障排除步骤回答:
有些python包需要在某些操作系统上安装xcrun (比如mac上的OSX )。这是我在复制问题时得到的(相当冗长的)错误输出的一部分:
xcrun: error:无效的active developer路径(/Library/Developer/CommandLineTools),缺少xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
我运行这个程序是为了安装xcrun:
xcode-select --install这给了我一个新的更长的错误,其中包括:
_configtest.c:1:10:致命错误:“endian.h.h”文件未找到
这让我想到了这个:在mac上找不到
但同样的错误还是失败了。
关于github问题的更多细节:https://github.com/DeepSpace2/StyleFrame/issues/52
https://stackoverflow.com/questions/54227936
复制相似问题