
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: Convert Date to DateTime
- How to sort a List using Lambda in Python
- Python matplotlib segmentation fault: 11 macOS Big Sur
- What is Terminal Velocity and its Formula? How to calculate it programmatically?
- How to install Python 3.11 on Mac
- How to flatten a nested list in Python
- Python: Pandas Merge DataFrames on Index Example
- How to Run all Cells at Once Jupyter Notebook
- Python - Convert float to String
- How to add borders to tkinter label text
- How to Exit a Loop in Python Code
- [Python] Fix: ValueError: All arrays must be of the same length
- Sorting an array using Bubble Sort in Python Programming
- How to Unzip a file using Python
- Python: Merge DataFrames Pandas Outer Join Example
- Change label (text) color in tkinter
- Convert Float to String in Python
- Fix: fatal error: No such file or directory compilation terminated
- Python: Access index/counter of a for loop iteration
- Import Other Python Files Examples
- How to install Anaconda on Mac (M1/M2 Mac)
- Python Regular Expression to Find All Matches in List
- How to Read a binary File with Python
- How to disable warnings while Python file execution
- Know current Python Version
More Posts:
- MySQL Workbench - Connection Warning - Incompatible/nonstandard server version or connection protocol detected - MySQL
- Android Alert Dialog with Checkboxes example - Android
- How to Exit a Loop in Python Code - Python
- How to install Anaconda on Mac (M1/M2 Mac) - Python
- Bash: Command to Find the Length of a String - Bash
- Python: Print Exception Stack trace like Java - Python
- How choose alternate Tab Bar icon in Notepad++ - NotepadPlusPlus
- Notepad++ Convert text from lower to upper case - NotepadPlusPlus