Answers for "python2.7 to 3 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

Python Answers by Framework

Browse Popular Code Answers by Language