赞
踩
每次使用pip 看到这个升级的提示就很烦,按照提示操作报错,解决办法如下:
建议使用国内的源来升级:
python -m pip instatll --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
错误提示:
You are using pip version 10.0.1, however version 20.0.2 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.
2.按照提示,删除提示已安装的包
3.重新安装:python -m pip instatll --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。