1. 程式人生 > >python2 3 共存

python2 3 共存

.exe -- sta ins all python rip 修改 upgrade

分別安裝 2,3

修改python.exe名為 python2.exe python3.exe
修改pip-script.py 文件第一行 (保證pip可以正常工作)

python -m pip install --upgrade pip pip更新

python2 -m pip xxx python2的pip

python3 -m pip xxx python3的pip

python2 3 共存