python执行pip指令时,提示“You should consider upgrading……”的解决方法

警告信息如下:

WARNING: You are using pip version 21.1.2; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\PycharmProjects\pythonProject\venv\Scripts\python.exe -m pip install --upgrade pip' command.

在这里插入图片描述

解决方法:
在Terminal输入:

python -m pip install --upgrade pip

直接运行,即可升级,如图所示:

猜你喜欢

转载自blog.csdn.net/wufaqidong1/article/details/133587126
今日推荐