![](/img/trans.png)
[英]Why am I getting an "ERROR Command errored out with exit status 1" when installing the ratfun package for python 3.6?
[英]Trouble installing sklearn in command prompt in python, getting ERROR: Command errored out with exit status 1:
我正在尝试在命令提示符下安装 sklearn,但我不断收到相同的错误。
ERROR: Command errored out with exit status 1:
command: 'c:\users\paula\appdata\local\programs\python\python39\python.exe' 'c:\users\paula\appdata\local\programs\python\python39\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\paula\AppData\Local\Temp\pip-build-env-0nihy7su\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.28.5' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation == '"'"'CPython'"'"'' 'numpy==1.14.0; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"' and platform_python_implementation != '"'"'CPython'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'scipy>=0.19.1'
cwd: None
我试过pip install sklearn
, pip install -U sklearn
和scikit learn
一样,他们都给出了同样的错误。 任何建议将不胜感激。 我在 windows 上使用 Python 3.9.1。
截至目前(2020 年 12 月),3.9.1 是一个前沿版本,您应该知道某些库可能不支持它。 更多信息可在以下 github 问题中找到:
在 Windows 上使用 Python 3.9 安装 scikit-learn 失败
您可以尝试使用命令安装它,
pip install --pre -U scikit-learn
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.