
Today Python version 3.11 has been released which is said to be 10% to 60% faster compared to its predecessor 3.10 version.
If you want to install Python 3.11 on your Mac, you can make use of the Homebrew package manager.
% brew install python@3.11
...
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/manifests/3.11.0
...
==> Installing dependencies for python@3.11: mpdecimal, readline, sqlite and xz
==> Installing python@3.11 dependency: mpdecimal
==> Pouring mpdecimal--2.5.1.arm64_ventura.bottle.tar.gz
🍺 /opt/homebrew/Cellar/mpdecimal/2.5.1: 71 files, 2.2MB
...
🍺 /opt/homebrew/Cellar/xz/5.2.7: 95 files, 1.5MB
==> Installing python@3.11
==> Pouring python@3.11--3.11.0.arm64_monterey.bottle.tar.gz
==> /opt/homebrew/Cellar/python@3.11/3.11.0/bin/python3.11 -m ensurepip
==> /opt/homebrew/Cellar/python@3.11/3.11.0/bin/python3.11 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/opt/homebrew/lib/pyth
==> Caveats
Python has been installed as
/opt/homebrew/bin/python3.11
Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to
`python3.11`, `python3.11-config`, `pip3.11` etc., respectively, have been installed into
/opt/homebrew/opt/python@3.11/libexec/bin
Once installed, based on your Mac Chip type (M1/M2 ARM or Intel) you should get a note in the logs where is Python 3.11 installed on your file system.
Python has been installed as
/opt/homebrew/bin/python3.11
Running the Python 3.11 Shell:
% sudo /opt/homebrew/bin/python3.11
Password:
Python 3.11.0 (main, Oct 25 2022, 13:57:33) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!