'No matching distribution found for Install
While trying to install scikit-learn using the command:
python -m pip install scikit-learn
It's throwing an error as:
Could not find a version that satisfies the requirement for install(From versions:) No matching distribution found for install
However, in the site_packages folder the file install.py is present.
How to remove this issue?
Solution 1:[1]
I know this is an old post, but this same issue kept bugging me for a long time so sharing this in case any other lost soul reaches here. I got it working by using python3 -m pip :
python3 -m pip install scikit-learn
Solution 2:[2]
Configuring pip over Proxy was bit tedious in my case too. Here's an alternative solution.
Use the Ubuntu Package Manager, after setting the proxy in apt config file using https://askubuntu.com/questions/89437/how-to-install-packages-with-apt-get-on-a-system-connected-via-proxy
sudo apt-get install python-sklearn
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | nayakasu |
| Solution 2 | Jalaz Kumar |
