PIP报错

每次使用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.
PIP升级-报错
2.按照提示,删除提示已安装的包
PIP升级-报错
3.重新安装:python -m pip instatll --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
PIP升级-报错

相关文章:

  • 2021-05-27
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2021-05-24
猜你喜欢
  • 2022-02-18
  • 2021-05-30
  • 2021-08-28
  • 2021-12-07
  • 2021-11-28
  • 2021-10-07
  • 2021-04-15
相关资源
相似解决方案