How to Install Pip on Windows in 2023 (Easy Guide)

1. Download the get-pip.py file from the official Python Packaging Index (PyPI) website.

2. Open the Windows Command Prompt.

3. Navigate to the directory where you downloaded the get-pip.py file.

4. Run the command “python get-pip.py”.

5. Wait for the installation to complete.

6. Verify the installation by running the command “pip –version”.

7. You should see the version of pip that you just installed.

Congratulations! You have successfully installed pip on your Windows machine.

Recently, we wrote a detailed tutorial on how to build your own AI chatbot with ChatGPT API. And for that project, we used Python and Pip to run several essential libraries. So if you are also getting started with Python for a project, make sure to install Pip on your Windows PC. You will be able to download many of the dependencies and libraries in a few seconds. On that note, let’s go ahead and learn how to install Pip on Windows 11 and 10.

Install Pip on Windows 11 and 10 (2023)

Here, you can learn about Pip and find out how to install it on Windows along with Python. We have also added fixes to a few errors, mostly related to path misconfiguration. You can expand the table below and move to any section you want.

What is Pip?

How to Install Pip on Windows

Pip is the package manager for Python. In simple terms, it basically allows you to install and manage millions of Python packages and libraries from the command line. It connects to the Python Package Index (PyPI) repository where you can find thousands of projects, apps, software development kits, clients, and more. If you are developing a project, and if you need some dependencies which are not part of the standard Python distribution, Pip can add them for you effortlessly. Simply put, Pip is an integral part of Python and to get started, you must install both of them.

Check If Pip Is Already Installed on Windows

If you have installed Python, you may already have Pip installed on your system. So before you move to the installation steps, let’s check if Pip is already installed on Windows or not.

1. Open Command Prompt or Windows Terminal. After that, run the below command. If you get the Pip version as the output, it means Pip is already installed on your PC. You can scroll down and learn how to upgrade Pip to the latest version on Windows.

pip --version
How to Install Pip on Windows

2. In case, you get errors like “Command not found” or “‘Pip’ is not recognized as an internal or external command, operable program or batch file.”, it means that Pip is not properly installed on your PC. Follow the below steps to install Pip and configure its path as well.

How to Install Pip on Windows

How to Install Pip on Windows PCs

Install Pip with Python

To install Pip on Windows, you need to install Python only. When you install Python using the desktop setup file, Pip is also sideloaded on Windows. Here is how you can set up Pip on Windows.

1. First and foremost, move to this link and download the latest version of Python for Windows.

How to Install Pip on Windows

2. After that, double-click on the setup file. Once the installer appears, make sure to enable the checkbox next to “Add Python.exe to PATH“.

Install Pip on Windows 11 and 10 (2023)

2. After that, click on “Customize installation” and make sure “pip” is enabled along with other options. Click on “Next” and then “Install”.

Install Pip on Windows 11 and 10 (2023)

3. Now, Python along with Pip, both will get installed on your Windows PC.

Install Pip on Windows 11 and 10 (2023)

Install Pip via Command Line

You can also manually install Pip on Windows from the command line either using CMD or Windows Terminal. Follow the steps below.

1. Right-click on this link and then choose “Save link as…”.

Install Pip on Windows From Command Line

2. Now, save it as “get-pip.py” file in the “Downloads” folder.

Install Pip on Windows From Command Line

3. Next, right-click on the “get-pip.py” file and choose “Copy as path”.

Install Pip on Windows From Command Line

4. Finally, open the Terminal and execute it in the below fashion. Enter python, add a space, and then paste the path. After that, hit Enter and Pip will be installed on your Windows 11/10 computer.

python "C:\Users\mearj\Downloads\get-pip.py"
Install Pip on Windows From Command Line

5. Apart from that, you can also run this command to download and install Pip on a Windows PC using the “ensurepip” module.

python -m ensurepip --upgrade
Install Pip on Windows From Command Line

Verify Pip Installation

1. To check if everything went right, open Windows Terminal or Command Prompt and run the below commands. If the installation was successful, the first command will display the Python version, and the second command will show the Pip version currently installed on your PC.

python --version
pip --version
Install Pip on Windows 11 and 10 (2023)

2. You can also type the below command to find all the commands pip takes as an argument. If it returns a long list of command options, you are good to go.

python --help
pip --help

Upgrade or Downgrade Pip on Windows

1. After installation, run the below command in the Terminal to upgrade Pip to the latest version on Windows. Here’s what the syntax looks like:

python -m pip install -U pip
Upgrade or Downgrade Pip on Windows

2. In case you want to downgrade Pip to a specific version, run the below command:

python -m pip install pip==19.0
Upgrade or Downgrade Pip on Windows

How to Add Python and Pip to PATH on Windows 11 and 10

After installing and running the Python or Pip command on Windows if you get errors such as “Pip is not recognized as an internal or external command,” or “Python is not recognized as an internal or external command,” or simply “Python not found”, do not worry. It means that Python or Pip may have been installed on your Windows PC, but their paths have not been configured correctly. We need to add their directories as a global Windows environment variable. Here is how to do it.

1. First of all, press “Windows + R” to open the Run prompt and paste the below path, and hit Enter.

%localappdata%\Programs\Python
How to Add Pip to PATH on Windows 11

2. After that, open another “Python3XX” folder. Now, copy the whole path from the address bar. This is Python’s path you need to add as an environment variable.

Fix the "Python is not recognized as an internal or external command" Error on Windows

3. Next, move to the “Scripts” folder and click on the “Address bar”. Now, copy the whole path again. This is Pip’s path you need to add as an environment variable.

How to Add Pip to PATH on Windows 11

4. After you get paths for both Python and Pip, open the Run prompt again by pressing “Windows + R”. Here, type sysdm.cpl and hit Enter. This will directly open the Advanced System Settings.

How to Add Pip to PATH on Windows 11

5. Move to the “Advanced” tab, and click on “Environment Variables” at the bottom.

How to Add Pip to PATH on Windows 11

6. Next, under the “User variables for …” section, select “Path” and click on the “Edit…” button.

How to Add Pip to PATH on Windows 11

7. Here, click on “New” and add both the paths you copied above on the left side. Now, click on “OK”. Keep in mind, the paths will be different for each PC. This will add python and pip as global environment variables on your PC.

python and pip path environment variables

7. Finally, open Command Prompt or Windows Terminal and run a Python/ Pip command. For example – You can use the pip command to install the OpenAPI on your Windows PC, and it won’t display an error.

python --version
pip install openai

Download and Install Pip on Windows With Python

So this is how you can download and install Pip on Windows 11 or 10. I would suggest downloading the official installer from Python’s website and installing it to steer clear of any errors. It works for me 100% of the time. Anyway, that is all from us. If you want to learn how to install Python in Ubuntu Linux, head to our guide for more details. And to find the best Python learning courses, we have a curated list ready for you. Finally, if you have any questions, let us know in the comment section below.

How to Install Pip on Windows in 2023 (Easy Guide)

Installing Pip on Windows in 2023 is a relatively straightforward process. Pip is a package manager for Python that allows you to install and manage additional packages that are not part of the Python standard library. In this guide, we will show you how to install Pip on Windows in 2023.

Prerequisites

  • Windows 10 or later
  • Python 3.9 or later

Step 1: Download the get-pip.py File

The first step is to download the get-pip.py file. This file is used to install Pip on your Windows machine. You can download the file from the official Python Packaging Index (PyPI) website.

Step 2: Open the Command Prompt

Once you have downloaded the get-pip.py file, open the Command Prompt. To do this, press the Windows key and type “cmd”. Then, press Enter to open the Command Prompt.

Step 3: Navigate to the Downloaded File

Once the Command Prompt is open, you need to navigate to the directory where you downloaded the get-pip.py file. To do this, type “cd” followed by the path to the file. For example, if the file is located in the Downloads folder, you would type “cd C:\Users\YourUsername\Downloads”.

Step 4: Install Pip

Once you have navigated to the directory where the get-pip.py file is located, you can install Pip by typing “python get-pip.py”. This will install Pip on your Windows machine.

Step 5: Verify the Installation

Once Pip has been installed, you can verify the installation by typing “pip –version”. This will display the version of Pip that has been installed on your machine.

Conclusion

Installing Pip on Windows in 2023 is a relatively straightforward process. By following the steps outlined in this guide, you should be able to install Pip on your Windows machine in no time. Once Pip has been installed, you can use it to install additional packages that are not part of the Python standard library.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Contact
San Vito Al Tagliamento 33078
Pordenone Italy
Item added to cart.
0 items - 0.00
Open chat
Scan the code
Hello 👋
Can we help you?