How to install Pip on Mac in just a few steps

Milan Stanojevic
by Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a front-end web developer. Read more
Affiliate Disclosure
  • When it comes to programming, Python is one of the most used and versatile languages.
  • In order to use Python packages on your Mac, you need to use Pip, and in today’s article, we’ll show you how to install it.
  • If you want to explore some more useful guides, check out our Fix Mac issues section.
  • To learn more about Mac computers, a good place to start would be our Mac Hub.
install pip on mac
Does your Mac have a backup plan for emergency situations?
Having a clean system and good protection against all types of potential malicious programs is essential. Intego's Mac Premium Bundle X9 can help you in several situations:

  • Clean and optimize every single bit of space on your Mac
  • Keep your system safe with Virus Barrier
  • Create professional backups of your system and data
  • Keep your kids safe while online with Parental Control features

Intego's Mac Premium Bundle X9 has been downloaded by readers this month.

Pip is a package installer for Python, and if you’re a developer you’re probably familiar with it.

Installing Pip isn’t always as simple, especially if you’re new to it, but in today’s article, we’re going to show you how to install Pip with ease.

How do I install Pip on Mac?

1. Use the Terminal

  1. Go to Applications > Utilities.
  2. Start the Terminal from there.
    terminal install pip on mac
  3. First, we need to check if we have Python installed. We do that by running this command:
    • python –version
  4. If you get a message saying that you don’t have Python installed, you’ll need to install it manually and then repeat this solution.
  5. Run the following command:
    • curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  6. After the command has finished running and you’ve downloaded the required files, run this command:
    • python get-pip.py

After the command has finished running, Pip should be installed and ready to use.


2. Running Pip

  1. Open the Terminal.
  2. Once the Terminal opens, run the following command:
    • pip –version
  3. If everything is in order, it means that pip is installed successfully.
  4. Optional: Check if pop, setuptools, and wheel are up to date by running this command:
    • python -m pip install --upgrade pip setuptools wheel

After updating everything, you can install components by running the following commands:

  • pip install "SomeProject" – to install a specific project
  • pip install "SomeProject==1.4" – to install a specific version of a project
  • pip install "SomeProject>=1,<2" – to install a version equal to one version but less than the other one
  • pip install "SomeProject~=1.4.2" – to install a version that is compatible with a certain version

You can also upgrade packages by running the following command:

  • pip install --upgrade SomeProject

Python is an incredibly powerful programming language, and if you want to use it, you’ll need to have Pip installed.  If you found our guide helpful, let us know in the comments below.

idee restoro
Still having issues with your Mac OS?
Fix them with this tool:
  1. Download and install now Washing Machine X9 from the official website
  2. Wait for an auto scan to start and spot the issues.
  3. Click Clean to start optimizing your Mac OS for a better experience.


This article covers:Topics: