gpt4 book ai didi

python - 在 ubuntu 14.04 中安装 Scikit-learn 时出错

转载 作者:太空宇宙 更新时间:2023-11-04 05:40:58 27 4
gpt4 key购买 nike

尝试使用 pip 安装 scikit-learn 时出现以下错误

错误:

Downloading/unpacking scikit-learn

Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement scikit-learn

Cleaning up...

No distributions at all found for scikit-learn
Storing debug log for failure in /home/dmacs/.pip/pip.log

我什至尝试过将代理设置为:

sudo pip --proxy http://user:pass@localhost:port install scikit-learn

谁能帮我解决这个问题?

提前致谢

最佳答案

基于细节:

一个。您正在安装的服务器存在网络问题,代理命令似乎无法解决该问题。基本上它无法从 pip 下载列表。

如果网络正在运行,请尝试以下操作:

sudo pip install -U pip
sudo pip install -U scikit-learn

关于python - 在 ubuntu 14.04 中安装 Scikit-learn 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33920518/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com