Package Installer for Python (pip) is used to install and manage software packages/libraries written in Python. This tool is very useful. This post from MiniTool Partition Wizard shows you how to install pip on Windows, Mac, and Linux PCs.

Most distributions of Python come with pip preinstalled. However, if you select Customize installation when installing Python, it will allow you to uncheck the pip. If you do that, pip will be removed. If you want to use this tool later, you need to install it separately.

How to Install PIP on Windows

cURL is a command tool in Python for transferring data requests to and from a server. It’s usually used to download files, test REST APIs, etc. With this tool, you can download and install pip Windows more easily.

To install pip Windows using cURL, you just need to open Command Prompt and then execute the following commands one by one:

  • curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  • python get-pip.py

Once the pip installation is completed, you should verify whether it is installed correctly using the command “pip -V”.

Then, you need to add the pip to your PATH to avoid path errors. Here is the guide:

  1. Press “Windows key + R” to open the Run dialog box.
  2. In the Run box, type “sysdm.cpl” and press Enter to open the System Properties window.
  3. Go to the Advanced tab and click Environment Variables.
  4. Double-click the PATH variable under System Variables.
  5. Click New, and add the directory where pip is installed. Then, select OK.

How to upgrade pip on Windows? You just need to execute the command “python -m pip install -U pip”.

How to Fix PIP Is Not Recognized in Windows Command Prompt?

How to Install PIP on Mac

To install pip Mac, you can also use the cURL tool. Here is the guide:

  1. Click the Launchpad icon in the Dock, type “terminal” in the search field, and then click Terminal to open it.
  2. Execute the command “python3 –version” to check whether Python3 is installed. If it is, you can go to the next step.
  3. Execute the command “curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py” to download the get-pip.py file and store it in the same directory as python is installed.
  4. Execute the command “python3 get-pip.py” to run the get-pip.py file.
  5. After the pip installation is completed, you can use the command “pip3 –version” to verify if the pip has been installed correctly.

How to upgrade pip on Mac? You just need to execute the command “python3 -m pip install –upgrade pip”.

Check Python Version on Windows/Mac/Linux [Guide]
Check Python Version on Windows/Mac/Linux [Guide]

You can know if your Python is the latest version by checking its version information. Well, this post tells you how to check Python version.

Read More

How to install PIP on Linux

Here, I will take Ubuntu as an example to show you how to install pip Linux.

When you install Python on Linux using commands, it will not offer your option to remove pip. But if pip is missing for some reason, you can install pip Ubuntu through the following guide:

  1. Open the terminal by pressing “Ctrl + Alt + T”.
  2. Execute the command “sudo apt update” to update the package list.
  3. Execute the command “sudo apt install python3-pip” to install pip for Python 3. This command will also install all the dependencies required for building Python modules.
  4. Once the installation is complete, execute the command “pip3 –version” to verify the installation.
Python Is Not Recognized as Internal or External Command [Fixed]
Python Is Not Recognized as Internal or External Command [Fixed]

The Python is not recognized as internal or external command issue when running Windows Command Prompt, but it confuses many people. Here are fixes.

Read More

Bottom Line

Are you interested in MiniTool Partition Wizard? This software can help you clone the system, manage disks better, and recover data. If you have this need, you can download it from the official website.

  • linkedin
  • reddit