【pycharm】Python pip升级及升级失败解决方案,报错:You are using pip version 10.0.1, however version 21.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

时间:2021-11-14 11:57:14

我已经升级到了最新的版本

安装其他模块过程中出现下面提示,便说明你需要升级pip

You are using pip version 10.0.1, however version 21.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command

当在下面出现Success,那么恭喜你安装成功。

失败的看这里:

失败的首先可以尝试更换升级指令,例如:

python -m pip install -U --force-reinstall pip

# 我本人用python -m pip install -U --force-reinstall pip命令完美解决了这个问题,执行完成后pip -V查看当前版本,如果还是低版本,则再执行一遍上面的升级指令

python -m pip install --upgrade pip

如果依旧失败的话,告诉你一种终极方案,前提时你周围有人pip升级成功

没错就是复制粘贴成功的文件,别问我怎么知道的,我就是这样成功的

pip文件路径:C:\python\Lib\site-packages\pip-19.2.1.dist-info

【pycharm】Python pip升级及升级失败解决方案,报错:You are using pip version 10.0.1, however version 21.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

【pycharm】Python pip升级及升级失败解决方案,报错:You are using pip version 10.0.1, however version 21.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.