WARNING: There was an error checking the latest version of pip.报错及解决方法

报错意思:

警告:检查最新版本的pip时出错。

报错原因

需要升级pip版本才可以安装其他模块,我们只需要升级pip

解决方法:

在命令操作窗口输入python -m pip install --upgrade pip


python -m pip install --upgrade pip

运行截图如下:

Successfully uninstalled pip-19.1.1(成功卸载旧版本:22.3.1)

Successfully installed pip-20.0.2(成功安装新版本:23.0.1)

查看目前的pip版本:

在命令操作窗口输入pip show pip。如图所示,已经成功升级

 

 PS:

注意升级的时候需要关掉梯子

参考:

关于升级pip命令1

关于升级pip命令2

猜你喜欢

转载自blog.csdn.net/m0_73485816/article/details/129749674