A
A
Alexander Ivanov2022-01-25 20:02:22
Python
Alexander Ivanov, 2022-01-25 20:02:22

Why doesn't pip work on Python 2.7?

It was necessary to install the old version of python 2.7 on Windows (python3 is already installed on the computer). I can't figure out how to install my pip for python2.7. And how will Windows understand that I need to use pip from one or another version of Python in this or that case?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soremix, 2022-01-25
@SoreMix

Download get-pip.py
Run it like a regular python file:python2 get-pip.py

how will Windows understand that I need to use pip from one or another version of Python in this or that case?

The version of pip will depend on the queue in the environment variables. Personally, I would prefer to leave just pip for python3, and for the second I would enterpython2 -m pip

M
mkone112, 2022-01-25
@mkone112

https://docs.python.org/3/using/windows.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question