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!
More Posts related to Python,
- Python List of Lists with Examples
- Fix: ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none) ERROR: No matching distribution found for tkinter
- How to Convert Python Notebook .ipynb (JSON) to Executable .py Module
- ModuleNotFoundError: No module named qdarkstyle.colorsystem [Python]
- Python: Pandas Merge Indicator (Left, Right and Both) Example
- Fix: EOFError Exception in Python
- How to URL Decode a Query String in Python
- How to take user input from the console in a Python program
- Compare two lists in Python and return matches
- How to change the Python Default version
- Fix: KeyError: exception in Python
- How to get the Execution Time of A Python Program
- Fix: ModuleNotFoundError: No module named boto3 [Python]
- How to get unique values from a list in Python
- How to pip install Python Modules in VSCode
- Python: Fix - TypeError: NoneType object is not iterable
- How to delete a file using Python code example
- How to create a dictionary comprehension in Python
- Python: Get just the filename without extension using Path
- How to comment out a block of code in Python
- How to add two float numbers in Python
- Python: How to POST Json Data with HTTP Request
- Get MD5 Hash as Checksum of a String in Python
- Python - Convert float to String
- How to Parse XML String in Python
More Posts:
- Fix: Eclipse Cant Connect to any repository not Authorized Error GitHub - Eclipse
- How to close all tabs of Notepad++? - NotepadPlusPlus
- Error 50057 - User account is disabled. The account has been disabled by an administrator [Microsoft - Teams - Azure] - Microsoft
- Convert String to LocalDate in Java - Java
- How to hide quick launch in SharePoint classic site - SharePoint
- Calculate Area of Parallelogram - C-Program
- How to Restart Apple Silicon based Mac (M1/M2 Chip) in Safe Mode - MacOS
- How to add duration to Android Toast makeText method - Android