1. 安裝python3
2. 安裝python2:
3. 加入環境變量:
path\python\3.7.0;
patt\python\3.7.0\Scripts;
path\python\2.7.12;
patt\python\2.7.12\Scripts;
4. cd python3
mv python.exe python3.exe
cd python2
mv python.exe python2.exe
win+R => cmd => python3; python2
5. install pip3 [cmd]:
python3 -m pip install --upgrade pip --force-reinstall
pip3 -V
install pip2 [cmd]:
python2 -m pip install --upgrade pip --force-reinstall
pip2 -V
6. python2 pip upgrade failed
下載解壓 pip-9.0.1.tar.gz
cmd進入path\pip-9.0.1
python2 setup.py build
python2 setup.py install
pip2 -V
pip 9.0.1 from ...
[DONE]