Download the and install the latest stable release from python.org
To set the release as default -
sudo ln -s -f /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 /usr/local/bin/python
To check it worked, open a new terminal window and run
python --version
You'll get -
Python 3.10.0
Happy coding! π
Top comments (0)