How To Install PIP to Manage Python Packages On Windows

PIP is a Python package management system that allows you to install and manage Python software packages. It stands for “Pip Installs Packages” or “preferred installation program.”

PIP for Python is a command-line tool for managing PyPI package installs. You may need to install PIP if you’re running an earlier version of Python on Windows. Installing PIP on Windows is as simple as downloading the installation package, opening the command prompt, and launching the installer.

This tutorial will show you how to install PIP on Windows, as well as how to check its version, upgrade, and configure it.

Note: PIP is pre-installed in the most recent versions of Python, while previous versions require manual installation. The following instructions are for version 3.4 and above. You can upgrade Python from the Python website if you’re using an earlier version.

Check if PIP is Already Install

PIP comes with the virtualenv and pyvenv virtual environments and is automatically install with Python 2.7.9+ and Python 3.4+.

Check to see whether PIP is already install on Windows before proceeding. by following steps and commands.

Step01: To open the command prompt window, type:

  • Press Windows Key + X.
  • Click Run.
  • Type in cmd.exe and hit enter.

Alternatively, type cmd into the Windows search box and choose “Command Prompt” from the results.

Step02: At the command prompt, type the following command.

pip help

If PIP responds, it has been successfully install. Otherwise, an error message will appear stating that the program could not be found.

install PIP

Installing PIP On Windows

To install PIP on Windows, follow the steps given below.

Step01: Download PIP

Download the file before installing PIP.

  • If it isn’t already open, launch a command prompt. To do so, type cmd into the Windows search box and then click the icon.
  • Then, to get the file, use the following command:
curl -o
install PIP 2

Step02: Installing PIP on Windows

Type the following command to install PIP:


If you can’t find the file, double-check the path to the folder where it was saved. The following command will show you the contents of your current directory:


The dir command displays a complete list of a directory’s contents.

Step03: Verify – install PIP

After you’ve installed PIP, type the following command to see if it was successful:

pip help

The program should execute if PIP is installed, and you should see the location of the software package as well as a list of commands you may use with pip.


If an error occurs, retry the installation procedure.

Step04: Add Pip to Windows Environment Variables

To prevent getting the “not on PATH” problem while running PIP from any location, you must add it to Windows environment variables. Follow the steps given below to do so:

  • Search for the System and Security window in the Control Panel and open it.
  • Navigate to System settings.
  • Then, select Advanced system settings.
  • Open the Environment Variables and double-click on the Path variable in the System Variables.
  • Next, select New and add the directory where you installed PIP.
  • Click OK to save the changes.

Step05: Configuration – install PIP

In Windows, the PIP configuration file is %HOME%\pip\pip.ini.

There is also a legacy per-user configuration file. The file is located at %APPDATA%\pip\pip.ini.

You can set a custom path location for this config file using the environment variable PIP_CONFIG_FILE.

Upgrading PIP for Python on Windows

PIP updates are published on a regular basis. These updates may improve functionality or be required for security reasons.

Run the following command to determine the current version of PIP:

pip --version

On Windows, type the following in the command prompt to upgrade PIP:

python -m pip install --upgrade pip

This command removes the previous version of PIP and replaces it with the most recent version.

Downgrade PIP Version

If a new version of PIP begins to function in an unsatisfactory manner, you may need to downgrade. To revert PIP to a previous version, indicate the desired version.

Use the following syntax to degrade PIP:

python -m pip install pip==version_number

That’s all for this article if you have any confusion contact us through our website or email us at [email protected] or by using LinkedIn

If you want to learn more about the python programming language then click the link to see our last article What is the difference between pip and pip3?

Leave a Comment