你好,我真的很难用Python安装飞镖。
提前谢谢。
为llvmlite运行setup.py安装..。错误错误:子进程-退出-有错误
为llvmlite运行setup.py安装没有成功运行。/opt/homebrew/lib/python3.9/site-packages/setuptools/command/install.py:34:退出代码:1╰─> 16行输出运行安装SetuptoolsDeprecationWarning: setup.py安装是不推荐的。使用构建、pip和其他基于标准的工具。运行/private/var/folders/m4/g2pdxhsd7dn2652ll8d9sz3c0000gn/T/pip-install-fza_0yk5/llvmlite_dc59eabdee5b435d8bd514c51e5c47db/llvmlite/_version.py {' version ':'0.38.0','f0365b91ce1e1f74c68785c6d0067f32f89857d9'}运行build_ext /opt/warnings.warn/opt/python@3.9/bin/python3.9 /private/var/folders/m4/g2pdxhsd7dn2652ll8d9sz3c0000gn/T/pip-install-fza_0yk5/llvmlite_dc59eabdee5b435d8bd514c51e5c47db/ffi/build.py LLVM版本.追溯(最近一次调用):文件"/private/var/folders/m4/g2pdxhsd7dn2652ll8d9sz3c0000gn/T/pip-install-fza_0yk5/llvmlite_dc59eabdee5b435d8bd514c51e5c47db/ffi/build.py",第220行、main() "/private/var/folders/m4/g2pdxhsd7dn2652ll8d9sz3c0000gn/T/pip-install-fza_0yk5/llvmlite_dc59eabdee5b435d8bd514c51e5c47db/ffi/build.py",第214行、main main_posix('osx‘)、'.dylib')文件.dylib第134行,在main_posix中从None RuntimeError(msg)中找不到llvm-config二进制文件。出现这种情况的原因有很多,请参阅:https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#using-pip以获得帮助。错误:命令'/opt/homebrew/opt/python@3.9/bin/python3.9‘失败,退出代码1端输出
注意:此错误源于子进程,很可能与pip无关。错误:遗留安装失败
在安装软件包时遇到了错误。╰─>闪锌矿
注:这是上述软件包的一个问题,而不是pip。提示:有关故障的输出,请参阅上文。
发布于 2022-09-13 10:53:37
请尝试在Mac12.5.1版本中安装飞镖,如下所示:
我的python版本不一样。但希望这个程序对你有用:
关于您的信息,下面是我的requirement.txt:
protobuf==3.20.1
python-dateutil==2.8.2
elasticsearch==7.13.0
elasticsearch-dsl==7.4.0
Flask==1.1.4
flask_restplus==0.13.0
Werkzeug==0.16.1
python-json-logger==2.0.2
ecs-logging==2.0.0
omegaconf==2.1.1
mock==4.0.3
nltk==3.6.7
PyJWT==2.4.0
pytest==6.2.5
requests==2.27.1
scikit-learn==1.0.2
pandas==1.3.5
pandasql==0.7.3
xlrd==2.0.1
colorlog==6.6.0
darts==0.15.0
psutil==5.9.1
decorator==5.1.1
zulu==2.0.0
,但是对于飞镖的安装,我面临着问题。我通过手动安装软件包解决了这个问题,如下所示:-
% python --version
Python 3.10.6
% pip install CMAKE
% pip install setuptools
% pip3 install gensim
% brew install lightgbm
% brew install cmake
% brew install libomp
% pip install httpstan
% pip install lightgbm
% pip install ipython
% pip install google-auth-oauthlib
% pip install filterpy
% pip install cmdstanpy
% pip install tensorboard
% pip install prophet
% pip install pmdarima
% pip install darts
% pip list | grep darts
darts 0.21.0
https://stackoverflow.com/questions/72080471
复制相似问题