python2 3 共存

分别安装 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

原文地址:https://www.cnblogs.com/yushengzhou/p/9512699.html