CMD upgrade python's pip

CMD upgrade python's pip

1. Question:

PyCharm运行报错:WARNING: You are using pip version 20.0.2; however, version 21.0 is available.
You should consider upgrading via the 'd:\program files (x86)\python\python.exe -m pip install --upgrade pip' command.

Fig 1 Error Details

2. Solution:

Turn on the computer, run the command operation window CMD, and enter the command: python -m pip install --upgrade pip

Fig 2 command input interface
 
Fig3 complete update

 3. Check the pip version

 Enter the command: pip show pip.

Fig 4 final screenshot

Guess you like

Origin blog.csdn.net/yiweiduguo/article/details/113242761