简体   繁体   English

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

[英]Error Installing Scikit-learn in ubuntu 14.04

Getting the following error when trying to install scikit-learn using pip尝试使用 pip 安装 scikit-learn 时出现以下错误

Error:错误:

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

I've even tried with proxy setting as :我什至尝试将代理设置为:

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

Can anyone help me out with this problem?谁能帮我解决这个问题?

Thanks in advance提前致谢

Based on the details:基于详细信息:

a.一种。 The server where you are installing has a networking issue which doesnt seem to solve by the proxy command.您安装的服务器存在网络问题,代理命令似乎无法解决该问题。 Basically it is unable to download the list from pip.基本上它无法从 pip 下载列表。

b.If networking is running kindly try this:如果网络正在运行,请尝试以下操作:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM