Answers for "change default python to python3 in mac"

5

which python mac

$ brew update && brew upgrade python
Posted by: Guest on September-23-2020
1

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
1

mac catallina python3

$ brew install pyenv
Posted by: Guest on July-06-2020

Code answers related to "change default python to python3 in mac"

Python Answers by Framework

Browse Popular Code Answers by Language