Answers for "how to set python on 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
2

install python in mac

brew install python3
brew install python2
Posted by: Guest on June-06-2020
0

set python 3 as default mac

[ -e ~/.profile ] && . ~/.profile
Posted by: Guest on December-01-2020

Code answers related to "how to set python on mac"

Python Answers by Framework

Browse Popular Code Answers by Language