Skip to content

Instantly share code, notes, and snippets.

View harmohitsandhu's full-sized avatar
👨‍💻
Learning iOS Development

Harmohit Singh harmohitsandhu

👨‍💻
Learning iOS Development
View GitHub Profile
@harmohitsandhu
harmohitsandhu / python-pyenv-macos.md
Created December 27, 2024 13:10 — forked from samuelbradshaw/python-pyenv-macos.md
Installing Python 2 and 3 on macOS

Installing Python 2 and 3 on macOS

Starting with macOS 12.3, Python is no longer bundled with macOS. These instructions allow you to set up Python 2 and Python 3 side-by-side using pyenv. The instructions were tested on an Apple Silicon Mac, but the process on an Intel Mac should be similar.

Install Homebrew

Homebrew is a popular package manager that makes it easy to install command line tools. If you don’t yet have Homebrew installed, instructions can be found here: https://brew.sh

Verify that Homebrew is installed: