Reputation: 401
Getting the following error when trying to install scikit-learn using pip
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
Upvotes: 2
Views: 868
Reputation: 521
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.
b. If networking is running kindly try this:
sudo pip install -U pip
sudo pip install -U scikit-learn
Upvotes: 1