DEV Community

yosi
yosi

Posted on

3 1

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! 🚀

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

đź‘‹ Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay