First, download and install Python2.7 and Python3.6
Installation package: https://www.python.org/downloads/
Second, the configuration system environment variable is added in the environment variable
1. Installation directory \python27
2. Installation directory \python27\scripts
3. Installation directory \python36
4. Installation directory \python36\scripts
Third, modify the executable file in the installation directory to find the installation directory for Python2 and Python3, modify the Python.exe and Pythonw.exe names in python2.7 and python3.6 Python2.exe, Pythonw2.exe and Python3.exe, Pythonw3.exe. Enter Python2 carriage return and Python3 carriage return on the command line, you can get the corresponding version number, prove the installation configuration is successful. Four, install PIP in the DOS command box Input command, python2-m pip install--upgrade pip--force-reinstall, display the reinstallation succeeded. In the DOS command box, enter the command, python3-m pip install--upgrade pip--force-reinstall, to show that the reinstallation was successful. Now you can view the two versions of PIP information through Pip2-v and Pip3-v and then just run pip2 install XXX and pip3 install XXX to mount the respective Python packages. such as Ipython, Flake8, YAPF, Pylink and so on. V. Install Python's interactive mode, ipythonpip2 install IPYTHONPIP3 install Ipython
Windows environment configuration: Install both the Python2.7 and Python3.6 development environments