When python executes the pip command, the solution to the prompt "You should consider upgrading..."

The warning message is as follows:

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.

Insert image description here

Solution:
Enter in Terminal:

python -m pip install --upgrade pip

Run it directly to upgrade, as shown in the figure:

Guess you like

Origin blog.csdn.net/wufaqidong1/article/details/133587126