Specific steps:
1Install the downloaded Python2 and Python3 interpreter locally, such as the C packing directory2. Open, Control Panel \ System and Security \ System, select Advanced system settings, environment variables, select Path, click Edit, Create new, add C:\Python\python27 and C:\Python\python27\Scripts to environment variable separately3. Python3 Ibid, add C:\Python\python36 and C:\Python\python36\Scripts to environment variables respectively4Modify the EXE file under the respective installation directory, for example, the Python.exe file under the C:\Python\python36 directory is named Python3.exe, and the Pythonw.exe is changed to Pythonw3.exe. Python2 the same operation3. CMD (Administrator rights) command-line test, expand the corresponding interpreter version: Python2 Python34. Handling PIP2 and PIP3 issues, cmd (Administrator rights) input: Python3-m pip install--upgrade pip--force-Reinstall Python2-m pip install--upgrade pip--force-Reinstall5Check the test, the corresponding version and installation location, PIP3-V PIP2-V6. To this is OK, according to different interpreters choose different pip to install the module
Example
From
http://blog.csdn.net/sgfmby1994/article/details/77969681
End
python2,3 two versions of Windows systems exist at the same time