I could install 2.7.18 on M1.

brew install pyenv
pyenv install 2.7.18

Set the python version.

pyenv global 2.7.18

Export PATH if necessary.

export PATH="$(pyenv root)/shims:${PATH}"

Add if necessary.:

echo 'PATH=$(pyenv root)/shims:$PATH' >> ~/.zshrc
Answer from Isanka Wijerathne on Stack Overflow
๐ŸŒ
DEV Community
dev.to โ€บ jordicuevas โ€บ how-to-install-python2-in-a-macbook-m1-with-brew-bhi
How to install python2 in a macbook M1 with brew - DEV Community
May 23, 2022 - If you just need the latest version of Python2 on a modern Mac, you can download an installer from Python.org, v2.7.18 is here. That installer worked fine in Ventura for me, whereas the method detailed here kept crashing in the "pyenv shell" command.
๐ŸŒ
Apple Community
discussions.apple.com โ€บ thread โ€บ 253047045
Python for m1 Mac - Apple Community
August 16, 2021 - I heard that python is natively available for m1 mac. I download the macOS 64-bit universal2 installer, But it does not works, when I am going to install it, it asks me to install rosetta.
๐ŸŒ
YouTube
youtube.com โ€บ mustafa soby
How to Install Python 3 (or 2) for macOS M1 - YouTube
AboutPressCopyrightContact usCreatorsAdvertiseDevelopersTermsPrivacyPolicy & SafetyHow YouTube worksTest new featuresNFL Sunday Ticket ยท ยฉ 2024 Google LLC
Published: August 7, 2022
Views: 3K
๐ŸŒ
GitHub
gist.github.com โ€บ bfemiano โ€บ de3947f83c7cb5de575156080267bc92
Setup older Python on Apple M1 arm64 ยท GitHub
Apple M1 machines come with system Python 2.7 installed. Pyenv makes it easy to switch between multiple local versions for various needs, including the system install version. Note: Many of the source link directions youโ€™ll see additionally ...
๐ŸŒ
YouTube
youtube.com โ€บ watch
Install python on Macbook M1/M2 | Pycharm to write first python program - YouTube
In this video i have shown how to install the python (python3) on macbook m1/m2 and also install pycharm IDE on mac os (macbook pro, air) to write first pyth...
Published: February 24, 2022
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Install Python in MacOS M1/M2 | Configure and Install - 2023 - YouTube
In this video we have shown How to Install the Python (python3) on Macbook M1/M2. And also Verifying the Python Installation.Python Download URL - https://ww...
Published: July 14, 2023
Find elsewhere
๐ŸŒ
Medium
laict.medium.com โ€บ install-python-on-macos-11-m1-apple-silicon-using-pyenv-12e0729427a9
Install Python on macOS 11 M1 (Apple Silicon) using pyenv | by Tony Lai | Medium
June 12, 2021 - Install Python on macOS 11 M1 (Apple Silicon) using pyenv A fresh Mac and its default Python macOS 11 comes with a default version of python2, which is now obsolete in favor of python3. Python2 โ€ฆ
๐ŸŒ
Benmather
benmather.info โ€บ dr. ben mather โ€” geophysicist โ€บ posts โ€บ installing python on mac m1
Installing Python on Mac M1 | Dr. Ben Mather โ€” Geophysicist | The University of Melbourne
July 8, 2022 - Instead, these instructions will ... ... Download and install the latest pygplates version corresponding to your system architecture (Mac M1 ARM) and take note of the installation directory and python path....
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ how-to-install-python-on-mac
How to Install Python on Mac [2025 Guide for M1, M2, M3, and M4 Macs] - GeeksforGeeks
July 12, 2025 - Most modern versions of macOS (including macOS 12.3 and above) come with Python pre-installed, but it's usually an outdated Python 2.x version.
๐ŸŒ
Reddit
reddit.com โ€บ r/mac โ€บ python 2 is missing from my mac.
r/mac on Reddit: Python 2 is missing from my mac.
July 29, 2024 -

Few months back i installed python3 to learn coding, but after some time uninstalled the python3 by following steps given on the internet. Now when i write python --version, to check python 2 version, it shows :command not found which should be always present in the system. How do i get back python2 in system. If i install python3, will python2 also be automatically installed?

But i have not found any problems in my system yet due to python2, should i worry for future, or forget about it?

๐ŸŒ
Reddit
reddit.com โ€บ r/python โ€บ mac m1 problems
r/Python on Reddit: Mac M1 problems
May 17, 2022 -

How are you installing python and creating your virtual environments so they work well on Mac M1 chips? I have an iMac and a Macbook Pro, and I'm struggling to install and run various packages to include black, psycopg2 and pdftotext. I eventually figure out, but then I start a new project and run into problems again. My current steps are:

  1. Download latest version of python from the python.org website (https://www.python.org/downloads/release/python-3913/)

  2. Create virtual environment using PyCharm, selecting the python install as the interpreter. example: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3

  3. Open activated virtual environment in PyCharm and install dependencies with pip install -r requirements.txt

I've heard some people install python with brew, then use that to create virtual environments. Is that better? Anybody else having these issues?

๐ŸŒ
Tericcabrel
blog.tericcabrel.com โ€บ install-python2-on-macos
How to install Python 2 on Mac OS 12.3 and higher
December 21, 2022 - Starting version 12.3 of Mac OS Monterrey, Python 2 was removed from macOS, and developers are encouraged to use Python 3 or other programming languages.
๐ŸŒ
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
๐ŸŒ
Towards Data Science
towardsdatascience.com โ€บ home โ€บ latest โ€บ the ultimate python and tensorflow set-up guide for apple silicon macs (m1 & m2)
The Ultimate Python and Tensorflow Set-Up Guide for Apple Silicon Macs (M1 & M2) | Towards Data Science
January 21, 2025 - Finally, install and set up Tensorflow properly for an M1 or M2 Mac. All you need is an ARM Mac and you're ready to go! Macs nowadays already come with Python installed, at least Python2, but I believe there are better and recommended ways of working with Python in an arm64 like your M1 or M2 MacBook.
๐ŸŒ
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
๐ŸŒ
MacRumors
macrumors.com โ€บ apple finally removing python 2 in macos 12.3
Apple Finally Removing Python 2 in macOS 12.3 - MacRumors
January 28, 2022 - Python 2 has not been supported since January 1, 2020 and no longer receives any bug fixes, security patches, or other changes. Apple says that developers should use an alternative scripting language going forward, such as Python 3, but it's ...