PIP2 and PIP3 settings
Enter Python3 root directory to modify Python.exe to Python3
The Python installation package requires the Package management tool PIP, but when both Python2 and Python3 are installed, Pip is just one of the versions, and the following will provide a way to modify the two-version Pip so that the two Python versions of PIP can coexist.
In the DOS command box, enter the command, python3-m pip install--upgrade pip--force-reinstall, to show that the reinstallation was successful.
In the DOS command box, enter the command, python-m pip install--upgrade pip--force-reinstall, to show that the reinstallation was successful.
The two versions of PIP information can now be viewed through pip2-v and pip3-v, with the ability to install their own Python packages later by running PIP2 install XXX and pip3 install XXX.
Python2 and Python3 coexist to solve PIP problems