Python projects downloaded from GitHub sometimes need to be python2, sometimes python3, which is really disgusting.
The configuration steps are as follows:
Operating system: WIN10
installation procedure omitted, I believe can be installed
(1) Change the name to the computer at the same time loaded Python2.7 and Python3.5, in the installation directory to modify Python.exe for Python2.exe and Python3.exe
(2) Change environment variables, add D:\Program files\python27 and D:\Program files\python27\scripts to path path, Python3 still
(3) may appear pip2 can use, PIP3 cannot use
Workaround:
Delete Lib\site=pachage\pip directory, re-download pip9.0.1.tar.gz (official website)
Unzip into directory, command line run: Python3 setup.py
Delete the original Pip.exe
(4) Pip default source is foreign, download is called Turtle speed, instead of the domestic mirror site
Workaround on site: https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
Because although there are pip2,pip3 at the same time, it is only possible to create a Pip.ini file, and the pro-test is available
Python2 and Python3 coexist under windows