UPDATED - Homebrew version after 1.5

According to the official Homebrew page:

On 1st March 2018 the python formula will be upgraded to Python 3.x and a python@2 formula will be added for installing Python 2.7 (although this will be keg-only so neither python nor python2 will be added to the PATH by default without a manual brew link --force). We will maintain python2, python3 and python@3 aliases.

So to install Python 3, run the following command:

brew install python3

Then, the pip or pip3 is installed automatically, and you can install any package by pip install <package>.


The older version of Homebrew

Not only brew install python3 but also brew postinstall python3

So you must run:

brew install python3
brew postinstall python3

Note that you should check the console, as it might get you errors and in that case, the pip3 is not installed.

Answer from Blaszard on Stack Overflow
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.0.1
If you face issues when using Python and pip installed using these mechanisms, it is recommended to request for support from the relevant provider (eg: Linux distro community, cloud provider support channels, etc). ... Windows, Linux and macOS. CPython 3.9, 3.10, 3.11, 3.12, 3.13, and latest PyPy3.
Discussions

How do I install Pip to Mac?
You don't need to install pip, it comes with all recent versions of Python. (But the $ in those instructions should not be typed, it's showing you that you enter the command and the prompt.) More on reddit.com
🌐 r/learnpython
27
3
June 30, 2024
how to install pip - Apple Community
Have installed python on my Mac. And have been getting pop up saying 'There is no PIP installer in the selected environment'. Can someone help with this? Thanks in advance. ... Python.org started bundling pip with Python 2.7.9, and in their Python 3 distributions as pip3, including Python 3.8.5. More on discussions.apple.com
🌐 discussions.apple.com
September 6, 2020
Problem with default python3 and pip3 loc… - Apple Community
I have run numerous python3 installations on a couple of MacBook Pros over the last 10 years, always installing from python.org so am familiar with where these installs usually reside. ... 1. Why does ‘which’ show the /usr/bin locations but python3 and pip3 themselves report different locations? 2. 'pip3 list' thinks jupyterlab is installed but the package is not located in pip3’s site-packages directory · 3... More on discussions.apple.com
🌐 discussions.apple.com
January 21, 2024
macos - Why do I only have pip3 but no pip? - Ask Different
You can try the following command on the terminal: sudo easy_install pip. ... macOS 10.14.6 preinstalled python 2.7.10, but it doesn't come with pip. It does have pip3 for python3. bash-3.2$ python --version Python 2.7.10 bash-3.2$ which pip bash-3.2$ which pip2 bash-3.2$ More on apple.stackexchange.com
🌐 apple.stackexchange.com
October 8, 2019
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install pip on mac
How to Install Pip on Mac {3 Methods}
May 15, 2025 - The recommended way to install pip on Mac is using Python's ensurepip module. This section describes the pip installation via ensurepip and provides two alternative methods: ... Using get-pip.py installation script.
🌐
Apple Community
discussions.apple.com › thread › 251767900
how to install pip - Apple Community
September 6, 2020 - Python.org started bundling pip with Python 2.7.9, and in their Python 3 distributions as pip3, including Python 3.8.5. So after an installion of Python 2.7.18 (now deprecated), or Python 3.8.5, you will have a pip and pip3 respectively, installed as links in /usr/local/bin.
Find elsewhere
🌐
Homebrew
docs.brew.sh › Homebrew-and-Python
Python — Homebrew Documentation
Warning! The executables do not always point to the latest Python 3 version, as there is always a delay between the newest Python 3 release and the homebrew-core repository switching to the newest version. The Python formulae install pip (as pip3).
🌐
Python Packaging
packaging.python.org › tutorials › installing-packages
Installing Packages — Python Packaging User Guide
It’s recommended to write ... Python installation that the python command refers to). ... Due to the way most Linux distributions are handling the Python 3 migration, Linux users using the system Python without creating a virtual environment first should replace the python command in this tutorial with python3 and the python -m pip command with ...
🌐
Wikihow
wikihow.com › computers and electronics › software › programming › python › how to install pip on mac: easy step-by-step guide
3 Easy Ways to Download & Install Pip on Your Mac
December 11, 2025 - The Ensurepip Python module is the most straightforward way to install Pip on both macOS and Linux. ... Check to see if Pip is already installed. If you installed Python 3.9 or later from Python.org, by using Homebrew, or by installing the Xcode ...
🌐
Python
docs.python.org › 3 › installing › index.html
Installing Python Modules — Python 3.14.3 documentation
On Linux, macOS, and other POSIX ... 2 python2.7 -m pip install SomePackage # specifically Python 2.7 python3 -m pip install SomePackage # default Python 3 ......
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-pip-in-macos
How To Install PIP in macOS - GeeksforGeeks
July 12, 2025 - If not installed, visit the official website to download and install the Python Latest Version in your macOS. pip can be downloaded and installed using the command line (ensurepip module) by going through the following steps: Note: Python 3.4 ...
🌐
Apple Community
discussions.apple.com › thread › 255428578
Problem with default python3 and pip3 loc… - Apple Community
January 21, 2024 - Installation messages scrolled up and everything seemed OK. So, still within my home directory I entered ... OK, I guess I might need to edit my $PATH. So I went to check where pip3's packages are · % pip3 -V pip 21.2.4 from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework /Versions/3.9/lib/python3.9/site-packages/pip (python 3.9)
🌐
XDA Developers
xda-developers.com › home › mac › how to install pip on mac
How to install Pip on Mac
December 6, 2023 - To do so, navigate to the official Python website, then download and install the package targeting macOS. If you're unsure how to do this, there are detailed steps on how to install Python available.
🌐
Reddit
reddit.com › r/learnpython › freshly installed mac already seems to have python3 and pip. how do i source it?
r/learnpython on Reddit: Freshly installed mac already seems to have python3 and pip. How do I source it?
November 16, 2023 -

This post is less about the python language, but more about the recommended installation. I just did a fresh install of my MacBook (deleted all data). I did a bit of an oopsy during the reinstallation, so I had to start at El Capitan, until I could get it updated to Monterey.

I digress, I want to set it up as clean as possible as a coding station, and I need to work with a couple of languages. When I wanted to install python 3 I checked if I already had it on there with the install, and I got a couple of weird responses.

% python --version  
zsh: command not found: python  
% python3 --version  
Python 3.9.6  
% pip --version  
zsh: command not found: pip  
% python3 -m ensurepip --upgrade  
Defaulting to user installation because normal site-packages is not writeable  
Looking in links: /var/folders/lw/3k8v5qm91qzgnvhyf3h0qkdc0000gn/T/tmpph98ri4e  
Requirement already satisfied: setuptools in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages (58.0.4)  
Requirement already satisfied: pip in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages (21.2.4) 

How should I proceed? Shall I do an extra install of python/pip using brew? Should I source this pip? Should I install a different environment manager (miniconda/mamba/pipenv)? What is recommended?

🌐
Medium
medium.com › swlh › installing-python-and-pip-on-mac-72b7639a58
Installing Python and pip on Mac. Well python3 and pip3 … | by Tolu Adesina | The Startup | Medium
November 19, 2019 - Now you can use pip3 to install any package you need in your projects. Simply write pip3 <package> . <package> is the library or package you want to add to your project. Now you can start coding in python, Happy Coding!
🌐
Groovy Post
groovypost.com › how-to › how to install pip on a mac
How to Install PIP on a Mac
February 5, 2024 - To install PIP on Mac using ensurepip, follow these steps. Open the Mac Terminal app via the Launchpad. In the Terminal, type python -m ensurepip or python3 -m ensurepip and press Enter.
🌐
Setapp
setapp.com › how-to › install-pip-on-mac
How to install pip on Mac
February 1, 2024 - To access all the projects within PyPI and to manage them on your Mac, you’ll need to install pip macOS manager. And there are a few ways to do that. But first, you need to make sure that you have at least Python 3 installed, since most pip installation methods require Python 3 to work correctly.
🌐
bodHOST
bodhost.com › general discussion › how to set up pip on your macos system
How to Set Up PIP on Your MacOS System - bodHOST
August 28, 2024 - This guide explains how to set up PIP on your macOS system. It makes managing and installing Python packages easier.