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.
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to Python,
- How to convert int to ASCII in Python
- How to make use of SQLite Module in Python?
- Split a String into Sub-string and Parse in Python
- Python: Pandas Rename Columns with List Example
- How to run Python file from Mac Terminal
- How to Exit a Loop in Python Code
- Python: How to Plot a Histogram using Matplotlib and data as list
- MD5 Hashing in Python
- Jupyter: Safari Cant Connect to the Server localhost:8888/tree
- Fix: AttributeError: str object has no attribute decode. Did you mean: encode?[Python]
- How to Read a binary File with Python
- How to add two float numbers in Python
- Python: How to install YAML Package
- Python: How to Save Image from URL
- What is Markdown in Jupyter Notebook with Examples
- How to change the Python Default version
- 33: Python Program to send an email vid GMail
- How to comment code in Python
- How to Fix AttributeError in Python
- Fix: error: Jupyter command `jupyter-nbconvert` not found [VSCode]
- How to comment out a block of code in Python
- List of All 35 Reserved Keywords in Python Programming Language 3.11
- Import Other Python Files Examples
- Python: How to add Progress Bar in Console with Examples
- 3 Ways to convert bytes to String in Python
More Posts:
- How to install Packages in Sublime Text Editor - Sublime-Text
- How to serialize-deserialize an object in java - Java
- Java 8 Predicate Functional Interface isEqual() Method Example - Java
- [Error] zsh: command not found: mvn - HowTos
- Skip Test Maven while creating package command - Java
- Open New tab using keyboard shortcut in Mac Terminal - Mac-OS-X
- How to Setup Microsoft OneDrive on Mac Sonoma 14 - Microsoft
- Working with Multiple Files in Sessions in Notepad++ - NotepadPlusPlus