In this tutorial, I will show you how to install Python 3.9 on Mac OS using brew.
Python 3.9.5 is the newest major release of the Python programming language, and it contains many new features and optimizations.
Read Also: How to install Python 3.8 on Mac using pyenv
1. Update brew
First of all you need to update brew and if you haven’t installed brew please install it.
Consider reading: How to install Python 3.7 on Raspberry PI
2. Install Python 3.9 on Mac using brew
Now it’s time to install the python 3.9 using brew
brew install [email protected]
What if you are upgrading it from python 3.8
brew unlink [email protected]
brew link --force [email protected]
3. Check the Python Version
Now after installation lets check the python version with the following command.
$ python3 --version
Python 3.9.5 is installed successfully.
Please let me know how you like the tutorial.
Read Also: How to remove rvm on Mac
Please let me know how you liked the tutorial. Please comment below what you want to learn next or topics I should write tutorials.
It would be great if you can help me keeping this blog up and running by contributing little bit. You can use the following link to help me.