当前位置:网站首页>You are using pip version 21.1.2; however, version 22.1.2 is available

You are using pip version 21.1.2; however, version 22.1.2 is available

2022-06-24 22:00:00 Jingwen · red spirit

 

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

Follow the prompts directly in python.exe Input in -m pip install --upgrade pip

After inquiry, baidu , Use the following article to find a solution

New clothes IDEA finish building python There is a package import error prompt for the project "You should consider upgrading via the 'python -m pip......_ The blog of a stray wolf -CSDN Blog _upgrading via New computer installation IDEA after , finish building python project , The following error occurred during the package guide process ~ So we've been observing , Found in fact IDEA The solution has been provided to us : Shortcut key :win+R Input cmd In the command window, first use the command to view the downloaded pip Version of (pip yes Python Package management tools , The tool provides the right Python Bag search 、 download 、 install 、 Uninstalled features .) The order is pip show pip The feedback shown in the figure below gives us a message ,...https://blog.csdn.net/gududelang22/article/details/99419048

python perform pip When the command , Tips “You should consider upgrading……” Solutions for _prelive The blog of -CSDN Blog 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.https://blog.csdn.net/prelive/article/details/122745405

resolvent :
1. stay Terminal Input : 

notes : This only involves the project pip Make changes , Other items will not be modified

Windows PowerShell
 copyright  (C) Microsoft Corporation. All rights reserved .

 Try a new cross platform  PowerShell https://aka.ms/pscore6

PS C:\Users\euweb\PycharmProjects\pythonProject2> python -m pip install --upgrade pip
ages (21.3.1)
Collecting pip
  Downloading pip-22.1.2-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 939 kB/s            
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.3.1
    Uninstalling pip-21.3.1:
      Successfully uninstalled pip-21.3.1
Successfully installed pip-22.1.2
PS C:\Users\euweb\PycharmProjects\pythonProject2>
PS C:\Users\euweb\PycharmProjects\pythonProject2> 

2. open cmd( This method has not been verified , But it should be OK )

notes : Modify all items

原网站

版权声明
本文为[Jingwen · red spirit]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241519100891.html