Answers for "how to make python default to python3 on mac"

4

use python3 as default mac

ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
Posted by: Guest on April-24-2020
2

set python3 as default mac

# it is said not to do but I used it anyway, because of the conveniency
$ echo "alias python=/usr/local/bin/python3.7" >> ~/.zshrc
Posted by: Guest on September-23-2020

Code answers related to "how to make python default to python3 on mac"

Python Answers by Framework

Browse Popular Code Answers by Language