安装
执行python3,重新安装pip模块
python3 -m pip install --upgrade pip --force-reinstall
执行python2,重新安装pip模块
python2 -m pip install --upgrade pip --force-reinstall
测试
pip2 -V
pip3 -V
使用
pip2 install xxx
pip3 install xxx
python3 -m pip install --upgrade pip --force-reinstall
python2 -m pip install --upgrade pip --force-reinstall
pip2 -V
pip3 -V
pip2 install xxx
pip3 install xxx
评论 (0)