win10 under python2 python3 and coexistence issues

1. Installation python2 sequentially and python3, and added to the system environment variable

2. Locate the installation directory python3, usually in C: \ Users \ Administrator \ AppData \ Local \ Programs \ Python path, change the name python3.6 in python.exe and pythonw.exe for python3.exe, pythonw3.exe.

win10 under python2 python3 and coexistence issues

3.CMD window to view the python version

win10 under python2 python3 and coexistence issues

4. Installation pip3

  python3 -m pip install --upgrade pip --force-reinstall

5. Check whether the installation is successful pip3

win10 under python2 python3 and coexistence issues

As shown in the figure, pip3 has been successfully installed.

Guess you like

Origin blog.51cto.com/14616151/2460756