You can upgrade pip in Windows by following these steps:
-
Open the Command Prompt as an administrator. To do this, search for "Command Prompt" in the Start menu, right-click on it, and select "Run as administrator".
-
Enter the following command:
python -m pip install --upgrade pip
-
Press Enter.
-
Wait for the process to complete. This may take a few minutes.
-
Once the upgrade is complete, you should see a message confirming that the upgrade was successful.
Microsoft Windows [Version 10.0.18363.900]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\user>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:\python38-64\lib\site-packages (20.1.1)
C:\Users\user>
It is generally a good idea to upgrade pip to the latest version as it provides bug fixes, security updates, and new features.
No comments:
Post a Comment