Windows10 under Python3 and Python2 installation (ii)
Python2.exe, Python3.exe and PIP2, PIP3 settings
Description: Installation Python3 and Python2 please refer to this series of tutorials (i)
1. Add Python2 to System environment variables
Open, Control Panel \ System and Security \ System, select Advanced system settings, environment variables, select Path, click Edit, New, add D:\Python\python27 and D:\Python\python27\Scripts to environment variables, respectively.
Note:Python3 installation can optionally be automatically added to system environment variables, such as no selection, method and Python2 add process.
2, modify Python.exe name for Python2.exe and Python3.exe
Locate the installation directory for Python2 and Python3, and modify the Python.exe and Pythonw.exe names in python2.7.9 and python3.5.2 as Python2.exe, Pythonw2.exe and Python3.exe, Pythonw3.exe.
Then run the cmd command and enter Python2 to run the python2.7.9 version
Enter Python3 to run python3.5.2 version
At this point, Python2 and Python3 installed. 3, PIP2 and PIP3 settings
The Python installation package requires the Package management tool PIP, but when both Python2 and Python3 are installed, the PIP is only one version, and the following will provide a way to modify the two-version pip so that two Python versions of the PIP can coexist.
In the DOS command box, enter the command, python3-m pip install--upgrade pip--force-reinstall to display the reinstall success.
In the DOS command box, enter the command, python2-m pip install--upgrade pip--force-reinstall to display the reinstall success.
The two-version PIP information can now be viewed through pip2-v and pip3-v, and the individual Python packages will be installed in the future simply by running Pip2install xxx and pip3 install XXX.
At this point, PIP2 and PIP3 modified successfully.
All Python package download links are http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy