How to Install PIP(Python) on a Windows PC (2024)

Python has many features to help you integrate systems and work more efficiently. One of them is PIP. This package manager installs and organizes libraries written in this programming language. However, activating it on your Windows PC can be tricky.

This article will show you how to install PIP in both Windows 10 and Windows 11

How To Install PIP in Windows 10/11

PIP is an integral part of Python and is so necessary that the developers have included it with the core program since versions 3.4 and 2.7.9 (for Python 3 and 2, respectively). This means that the manager may already be installed on your computer. You’ll need to use the Command Prompt to verify this.

Here’s how to do so.

  1. Click the “Start Menu” icon and type “cmd.”
    How to Install PIP(Python) on a Windows PC (1)
  2. Choose “Run as administrator” on the right side.
    How to Install PIP(Python) on a Windows PC (2)
  3. Type “pip help” and press “Enter.”
    How to Install PIP(Python) on a Windows PC (3)
  4. Note the feedback. It might not be installed if the cmd tells you your PIP is unrecognized as an external or internal command, batch file, or operable program. The culprit may also be an improper variable path but assume you haven’t installed the manager yet.
    How to Install PIP(Python) on a Windows PC (4)
  5. Once you verify your Windows 11 PC doesn’t have PIP, launch your browser and go to the Python for Windows website.
    How to Install PIP(Python) on a Windows PC (5)
  6. Download and run the setup file.
    How to Install PIP(Python) on a Windows PC (6)
  7. Press the “Customize installation” button.
    How to Install PIP(Python) on a Windows PC (7)
  8. Tick the box next to the “PIP” section to ensure the system installs it. Newer versions may not require this—they install the manager automatically.
    How to Install PIP(Python) on a Windows PC (8)
  9. Click on “Next” in the bottom-right section of the “Optional Features” window.
    How to Install PIP(Python) on a Windows PC (9)
  10. Click on “Install” in the “Advanced Options” window that appears.
  11. Select “Yes” on the User Account Control (UAC) popup window to install Python for Windows.
  12. In the “Setup was successful” screen, click “Close” to exit the installer.

PIP is now installed, but the work isn’t over yet. You may want to run it from anywhere on your computer for various purposes. However, opening it from specific locations may trigger an error. You’ll need to add the PIP manager location to your Environment Variables to prevent the error, which shouldn’t be too difficult.

  1. Open “Settings.”
    How to Install PIP(Python) on a Windows PC (10)
  2. Select “System.”
    How to Install PIP(Python) on a Windows PC (11)
  3. Click on “About.”
    How to Install PIP(Python) on a Windows PC (12)
  4. Scroll down the window to the “Related settings” section and click “Advanced system settings.”
    How to Install PIP(Python) on a Windows PC (13)
  5. Click on “Environment Variables.”
    How to Install PIP(Python) on a Windows PC (14)
  6. In the “System variables” section, double-click the “Path” variable.
    How to Install PIP(Python) on a Windows PC (15)
  7. Choose “New.”
    How to Install PIP(Python) on a Windows PC (16)
  8. Add the installed location of the PIP directory and manager as the new entry, such as “C:\Python27\Scripts.” You’ll generally find the folder in the root of your “C:\” drive.
    How to Install PIP(Python) on a Windows PC (17)
  9. Click the “OK” button to save your changes.
    How to Install PIP(Python) on a Windows PC (18)
  10. Reboot the PC.

How to Install PIP in Windows Through CMD

There’s no need to perform advanced programming to install PIP in Windows. You can use basic features to add this manager. For instance, cmd might be your best option.

This is how it works.

  1. Open a browser and head to this web page.
    How to Install PIP(Python) on a Windows PC (19)
  2. Download the get-pip.py and save it to a folder.
  3. Open your command prompt.
    How to Install PIP(Python) on a Windows PC (20)
  4. Find the folder that contains the downloaded file.
    How to Install PIP(Python) on a Windows PC (21)
  5. Run this command: python get-pip.py.
    How to Install PIP(Python) on a Windows PC (22)
  6. Your program should be ready to use in a few seconds.

Double-check your directory path if you receive a message that the system can’t find your file. You can use the”dir“command to check out the contents of individual folders.

How to Reinstall PIP

As previously mentioned, PIP can sometimes produce an error when launched. The specific error language depends on the operating system:

  • Windows – system can’t recognize PIP as an external or internal command, batch file, or operable program
  • Linux – command not found
  • macOS – command not found: PIP

These errors usually indicate the installation wasn’t performed correctly. But regardless of the cause, they’re frustrating because you can’t use the manager to organize critical packages.

Although the messages differ, they point to a common problem – the computer can’t find PIP in the locations from the path variable. Depending on your device, this variable is part of your system/environment variables.

To resolve the issue, you’ll first need to inspect the path variable using these steps:

  1. Run your command prompt
    How to Install PIP(Python) on a Windows PC (23)
  2. Enter the following command if you’re a Windows user: C:\> echo %PATH%
    How to Install PIP(Python) on a Windows PC (24)
  3. Enter the following command if you’re a Linux or Mac user: $ echo $PATH
    How to Install PIP(Python) on a Windows PC (25)

Once the command is processed, you’ll see the location on the disk where your OS is looking for your executable programs. Depending on your system, the places are separated by a semicolon or colon.

The directory with the PIP file should be in the path variable after creating your virtual environment or installing Python. However, it can still be missing for many reasons. There’s a method to reinstall PIP and add it to the correct directory.

  1. Open the Command Prompt.
    How to Install PIP(Python) on a Windows PC (26)
  2. Type in the following command if you use Python in Windows: C:\> python -m ensurepip –upgrade
    How to Install PIP(Python) on a Windows PC (27)
  3. Type in the following command if you use Python in Linux or macOS: $ python3 -m ensurepip –upgrade

Seamless Python Experience

The only way to take your Python skills to the next level is to have the ability to access all features. You’ll easily integrate PIP, one of the essential functions of this programming language. Also, avoid frustrating errors by taking your time during the installation to double-check the directory.

Why do you use PIP in Python? Did you have any trouble installing PIP? Share your experiences in the comments section below.

Related Posts

How to Install Python in VS CodeHow to Fix ‘Pip‘ is Not Recognized as an Internal or External CommandHow to Change the Python Interpreter in VS CodeHow to Run Python from VS CodeHow to Install Custom Google Fonts for Google DocsHow to Install Pandas in VS Code

How to Install PIP(Python) on a Windows PC (2024)
Top Articles
Health Over Wealth: Why Your Well-being Matters More Than Your Job Title and Salary
TD Canada Trust - EasyWeb
Sombouns Asian Market - Murfreesboro, TN
Local Body Rubs
Reading Craigslist Pa
Hell Hades Genbo
Project Reeducation Gamcore
Central Mn Credit Union Perham
Flanagan-Watts Funeral Home Obituaries
Albertsons Weekly Ad Missoula
Goddard, Paulette (1905–1990) | Encyclopedia.com
Therapeutic Procedure Ati Template
Stigmata Of Sacrilege F95
Pogoda długoterminowa Warszawa na 16, 25 i 45 dni – Długoterminowa prognoza pogody w INTERIA.PL
575Mm In Inches
Hoosier Shuttle Schedule
Ana Maria Gonzalez Angulo Husband
Oracle Ttec Direct Deposit
Craigslist Gigs Galveston
Curtis Ingraham Net Worth
Pronomic CM-22 Test - homerecording-forum.de
Bulls set the ‘gold standard’
Panther volleyball returns to McLeod Center for home opening weekend - UNI Athletics
Ideal Gas Laws Gizmo Answer Key
Drexel Student Doctor Network
Mail Healthcare Uiowa
Fiat E-Ducato im Test: Elektrischer Transporter auf Lorbeerruhe
Tom Wages Stone Mountain
Natalie Roush dild*
Yalelightingconcepts
Walmart Tire Center York Pa
057 Cdc Quakertown Cpu
Filmy Wap Punjabi
شيراز كرم تويتر
Canterbury Tales (ed. Skeat)/Knight - Wikisource, the free online library
Cities 20 Miles From Me
Allied Universal Jobs Hiring
2008 DODGE RAM diesel for sale - Gladstone, OR - craigslist
Quantum Break's Story and Ending Explained
Aabb Investorshub
Pokemon Reborn Gyms
Utilitech Space Heater Manual
Fv-F Fv-G Pay Scale
Python in Visual Studio Code
Jeff Danker Net Worth
Otc School Calendar
R/Sandiego
Craigslist Middletown Ohio
Craigslist Placer County
0Gomovies: Free Malayalam, Tamil & Hindi Movies - UK Journal
Busted Paper Haysi Regional Jail
Esud2L
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6481

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.