I am trying to install a Python library using pip
, getting an SSL error:
~/projects/base pre-master± pip install xdict
Collecting xdict
Co
I also hit this problem on my windows10 and tried all the answers but didn't solve my problem.
C:\python367\Scripts>pip install Flask
Collecting Flask Could not find a version that satisfies the requirement Flask (from versions: ) No matching distribution found for Flask
After that, I find the pip configuration file had been modified. So, I set the pip.ini
as the original default configuration, re-run the pip command and it works for me!
In summary of the solution of mine:
Check the pip.ini (usually under the path C:\ProgramData\pip
) had been modified;
If yes in step1, try to reset it to a default configuration.