Set Python3 as a default on MacOS

yosi

yosi

Posted on October 29, 2021

Set Python3 as a default on MacOS

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
Enter fullscreen mode Exit fullscreen mode

To check it worked, open a new terminal window and run

python --version
Enter fullscreen mode Exit fullscreen mode

You'll get -

Python 3.10.0
Enter fullscreen mode Exit fullscreen mode

Happy coding! ๐Ÿš€

๐Ÿ’– ๐Ÿ’ช ๐Ÿ™… ๐Ÿšฉ
yosi
yosi

Posted on October 29, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ยฉ TheLazy.dev

About