尝试使用 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/