Coexistence of python2 and python3 under win10
1. Install python2 and python3 in turn and add them to the system environment variable
two。 Find the installation directory of python3, usually in the C:\ Users\ Administrator\ AppData\ Local\ Programs\ Python path, and modify the names of python.exe and pythonw.exe in python3.6 to python3.exe and pythonw3.exe.
3.CMD window to view the python version
4. Install pip3
Python3-m pip install-upgrade pip-force-reinstall
5. Check to see if pip3 is installed successfully
As shown in the figure above, pip3 has been successfully installed.