Python2 and Python3 settings:
1, install Python2 and 3, and add environment variables;
2. Locate the installation directory for Python2 and Python3, modify the Python.exe and Pythonw.exe names in Python2 and Python3 Python2.exe, Pythonw2.exe, and Python3.exe, Pythonw3.exe.
3, respectively run: Python2 and python3 two command, check the installation situation;
PIP2 and PIP3 settings:
1. In the DOS command box, enter the command, python3-m pip install--upgrade pip--force-reinstall, display the reinstallation succeeded.
2. In the DOS command box, enter the command, python2-m pip install--upgrade pip--force-reinstall, display the reinstallation succeeded.
3, through the pip2-v and pip3-v two commands to view the two version of the PIP information, you only need to run PIP2 install XXX and PIP3 install XXX can be installed their own Python package.
PYTHON2/3 Coexistence, PIP2/3 coexistence