🌐
Python
python.org › downloads › macos
Python Releases for macOS | Python.org
Download macOS installer · Python 3.15.2 - Oct. 25, 2026 · Download macOS installer · Python 3.13.17 - Oct. 21, 2026 · Download macOS installer · Python 3.14.9 - Oct. 21, 2026 · Download macOS installer · Python 3.15.1 - Oct. 21, 2026 · Download macOS installer ·
🌐
Reddit
reddit.com › r/learnpython › how should you install python on mac os?
r/learnpython on Reddit: How SHOULD you install Python on Mac OS?
April 18, 2025 -

What do you think is the best way to install and maintain python and Jupyter lab on Mac in 2025?

It’s a mess on my current machine. Quickly running python in a terminal for a quick job uses a different version with different packages than Jupyter lab. Typing “python3” in the terminal doesn’t default to the most recent. At some point anaconda was installed.

What’s the cleanest way for a new machine to have an organized python environment? 90% of what I do is in Jupyter lab.

How do I download python on Mac? Aug 13, 2026
r/learnpython
2mo ago
"Easy Python Setup for a Mac" via homebrew May 20, 2014
r/Python
12y ago
Using Python on a MacBook Sep 28, 2018
r/Python
8y ago
Python installation questions on macOS Oct 20, 2022
r/learnpython
4y ago
Python's path on MacOS Feb 25, 2024
r/MacOS
2y ago
More results from reddit.com
Discussions

How can I install a previous version of Python 3 in macOS using homebrew? - Stack Overflow
I would recommend you avoid using Homebrew to install Python at all. Python.org provides macOS install packages for various versions of Python which can be installed side-by-side with each other (and side-by-side with a Homebrew Python installation if you want). More on stackoverflow.com
🌐 stackoverflow.com
python - How do I install pip on macOS or OS X? - Stack Overflow
My system could not locate easy-install, so the other solutions did not work. 2017-03-26T17:54:39.217Z+00:00 ... This worked from behind a firewall where the others failed. Thanks! 2017-06-28T23:18:46.377Z+00:00 ... This helps if you have multiple versions of python, and need a specific one to get pip. 2018-02-06T02:53:33.273Z+00:00 ... Best solution, worked like charm on MacOS... More on stackoverflow.com
🌐 stackoverflow.com
How to install python requests on macos? - Stack Overflow
I am trying to install the requests package for Python 3.7 on Mac. I already have python 2.7 installed. I have read all the previous questions related to this and none of them could solve the issue... More on stackoverflow.com
🌐 stackoverflow.com
Does Python still come pre-installed?
It's not preinstalled any more, sadly. Your best bet is using homebrew. More on reddit.com
🌐 r/mac
14
0
June 25, 2025
🌐
Python
python.org › downloads
Download Python | Python.org
5 days ago - For most Unix systems, you must download and compile the source code. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms.
🌐
Cics110
cics110.github.io › installing python › macos
Installing Python on macOS | CICS 110
To tell the difference, run whereis python3 in Terminal. If you get /usr/bin/python3, you're all set. Otherwise, we recommend you follow the below installation directions. ... You should see "Download the latest version for macOS", followed by a button labeled Download Python 3.x.
🌐
The Hitchhiker's Guide to Python
docs.python-guide.org › starting › install3 › osx
Installing Python 3 on Mac OS X — The Hitchhiker's Guide to Python
The script will explain what changes it will make and prompt you before the installation begins. Once you’ve installed Homebrew, insert the Homebrew directory at the top of your PATH environment variable. You can do this by adding the following line at the bottom of your ~/.profile file · export PATH="/usr/local/opt/python/libexec/bin:$PATH"
🌐
Medium
medium.com › marvelous-mlops › the-rightway-to-install-python-on-a-mac-f3146d9d9a32
The right way to install Python on a Mac | by Raphaël Hoogvliets | Marvelous MLOps | Medium
November 4, 2023 - Whether it’s for maintaining ... changes, `pyenv` stands out as the top choice. ... The first step is to install the command line tools for mac....
🌐
eddieantonio/blog
eddieantonio.ca › blog › 2020 › 01 › 26 › installing-python-on-macos
Installing Python on macOS (without going insane) | eddieantonio/blog
January 26, 2020 - Do not install Python with Homebrew, though. Instead… · Install pyenv so that you can install multiple versions of Python and switch between them with ease:
Find elsewhere
🌐
YouTube
youtube.com › watch
How to Install Python on MacBook (2026) - YouTube
**How to Install Python on Mac | Install Python on macOS (M1, M2, M3, M4, M5) (Apple Silicon Chip)**Installing Python on a Mac with Apple Silicon chips like ...
Published: January 1, 2026
🌐
YouTube
youtube.com › programmingknowledge
How to Install Python on Mac | Install Python on macOS - YouTube
In this video how to install Python on Mac or MacOS (M1, M2, MacBook Pro, MacBook Air).The easiest way is to download the Mac installer,https://www.python.o...
Published: January 2, 2024
Views: 296K
🌐
Substack
mettlesome.substack.com › mettlesome // raphaël’s substack › the right way to install python on a mac
The right way to install Python on a Mac
February 7, 2024 - Whether it’s for maintaining ... changes, `pyenv` stands out as the top choice. ... The first step is to install the command line tools for mac....
Top answer
1 of 9
270

Short Answer

To make a clean install of Python 3.6.5 use:

brew unlink python # ONLY if you have installed (with brew) another version of python 3
brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb

If you prefer to recover a previously installed version, then:

brew info python           # To see what you have previously installed
brew switch python 3.x.x_x # Ex. 3.6.5_1

Long Answer

There are two formulas for installing Python with Homebrew: python@2 and python.
The first is for Python 2 and the second for Python 3.

Note: You can find outdated answers on the web where it is mentioned python3 as the formula name for installing Python version 3. Now it's just python!

By default, with these formulas you can install the latest version of the corresponding major version of Python. So, you cannot directly install a minor version like 3.6.

Solution

With brew, you can install a package using the address of the formula, for example in a git repository.

brew install https://the/address/to/the/formula/FORMULA_NAME.rb

Or specifically for Python 3

brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/COMMIT_IDENTIFIER/Formula/python.rb

The address you must specify is the address to the last commit of the formula (python.rb) for the desired version. You can find the commint identifier by looking at the history for homebrew-core/Formula/python.rb

https://github.com/Homebrew/homebrew-core/commits/master/Formula/python.rb

Python > 3.6.5

In the link above you will not find a formula for a version of Python above 3.6.5. After the maintainers of that (official) repository released Python 3.7, they only submit updates to the recipe of Python 3.7.

As explained above, with homebrew you have only Python 2 (python@2) and Python 3 (python), there is no explicit formula for Python 3.6.

Although those minor updates are mostly irrelevant in most cases and for most users, I will search if someone has done an explicit formula for 3.6.

2 of 9
52

I have tried everything but could not make it work. Finally I have used pyenv and it worked directly like a charm.

So having homebrew installed, just do:

brew install pyenv
pyenv install 3.6.5

to manage virtualenvs:

brew install pyenv-virtualenv
pyenv virtualenv 3.6.5 env_name

See pyenv and pyenv-virtualenv for more info.

EDIT (2020/03/19)

I have found using the pyenv-installer easier than homebrew to install pyenv and pyenv-virtualenv direclty:

curl https://pyenv.run | bash

To manage python version, either globally:

pyenv global 3.6.5

or locally in a given directory:

pyenv local 3.6.5

EDIT (2025/12/19)

Just use uv

🌐
Mac Install Guide
mac.install.guide › python › brew
Brew Install Python · Mac Install Guide
February 25, 2024 - Check macOS and upgrade macOS if necessary. Open a terminal application. Check if Xcode Command Line Tools are installed. Install Homebrew. Install Python with brew install python.
🌐
Mac Install Guide
mac.install.guide › python › install
How to Install Python on Mac · Mac Install Guide
August 2, 2026 - If you just need Python on your Mac, you can install it with Homebrew in one command. But if you are going to write Python code, I recommend installing uv instead.
🌐
PythonTest
pythontest.com › python › installing-python-3-14
Installing Python 3.14 on Mac or Windows | PythonTest
This will detect if you are on Mac or Windows and present you with a button called “Python 3.14.0” (or whatever the latest version is). Click that button. This downloads an installer.
🌐
Snyk
snyk.io › articles › how-to-install-python-on-macos
How to Install Python on macOS | How to run Python on mac Terminal | Snyk
February 18, 2025 - To download the Python installer package, follow these steps: Open your web browser and navigate to the Python.org downloads page. The website should automatically detect your operating system and suggest the latest Python version to download.
Top answer
1 of 16
3498

On Linux or MacOS:

python -m ensurepip --upgrade

If you want to install pip for Python 3, replace python with python3.

See https://pip.pypa.io/en/stable/installation/ for more details.

2 of 16
796

⚡️ TL;DR — One-line solution.

Run the following command for Python v2.7 (default on Mac as of 2021)

curl https://bootstrap.pypa.io/pip/2.7/get-pip.py | python

Run the following command for Python v3

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

Or the following if you have it installed as Python 3

curl https://bootstrap.pypa.io/get-pip.py | python3

Another GIF image you said? Here you go!


The following used to work in 2019 and before

All you had to do was:

sudo easy_install pip

2019: ⚠️easy_install has been deprecated. Check Method #2 below for the preferred installation!

Details:

⚡️ OK, I read the solutions given above, but here's an easy solution to install pip.

The macOS comes with the Python environment installed. But to make sure that you have Python installed open the terminal and run the following command.

python --version

If this command returns a version number that means Python exists. This also means that you already have access to easy_install considering you are using macOS or OS X.

ℹ️ Now, all you have to do is run the following command.

sudo easy_install pip

After that, pip will be installed and you'll be able to use it for installing other packages.

P.S. I ended up blogging a post about it. QuickTip: How Do I Install pip on macOS or OS X?


✅ Method #2: Two line solution

easy_install has been deprecated. Please use get-pip.py instead.

Download and install PIP

curl https://bootstrap.pypa.io/get-pip.py | python
🌐
YouTube
youtube.com › wittcode
How to Install Python on Mac - YouTube
Learn how to install Python and PIP on Mac using the official Python installer.Install Pythonhttps://www.python.org/downloads/Become a Better Developer📚 htt...
Published: August 20, 2024
Views: 1K