Monday, April 21, 2025

How to Upgrade PIP in Windows - using Command Prompt

You can upgrade pip in Windows by following these steps:

  1. 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".

  2. Enter the following command: 

    python -m pip install --upgrade pip
    
  3. Press Enter.

  4. Wait for the process to complete. This may take a few minutes.

  5. 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

Tkinter Introduction - Top Widget, Method, Button

First, let's make shure that our tkinter module is working ok with simple  for loop that will spawn 5 instances of blank Tk window .  ...