Answer the question
In order to leave comments, you need to log in
How to install pip on Windows 10 for Python 2.7?
I can't install pip for Python 2.7 . It
gives the following errors:
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip
"pip" is not an internal or external
command, operable program, or batch file.
Answer the question
In order to leave comments, you need to log in
If you do not want to delve into the environment settings, then the best option is to download the installation file from the python.org website and select one of the components when installing pip.
If you already have a version of Python and you need to carefully and simply "roll" the current version of pip to this version, then you need to download the get-pip.py script from the link . Save it to disk and run it with python.exe get-pip.py.
Best of all, download a newer version of Python, 2.7.15 or 2.7.17, where pip is already installed by default (or by check).
But if you need exactly 2.7.0, then here is the link , a similar problem.
As far as I understood in python 2.7.0 the deprecated ssl library. I ran into this problem myself and this is what python get-pip.py outputs:
"An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform . This may cause the server to present an incorrect TLS certificate, which can cause validation failures . For more information, see https://urllib3.readthedocs.io/en/latest/advanced -... "
Here is a wiki page that says at the very bottom that SNI in Python has been supported since version 2.7.9.
So, either set python >= 2.7.9, or update the ssl module manually. Try this tip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question