Below you will find pages that utilize the taxonomy term “python 2”
Blog
Correct Installation and Configuration of pip2 and pip3
You may have to keep both Python version, the old 2 and 3, at the same time due to your projects and they will require corresponding pip installation so you can separately install and maintain packages for both version.
There are multiple ways of installing pip to a system but the version configuration and setting the default version for pip executable can be tricky.
Below is the easiest solution I’ve found.