how to make python3 default mac code example
Example 1: use python3 as default mac
ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
Example 2: set python3 as default mac
$ echo "alias python=/usr/local/bin/python3.7" >> ~/.zshrc
Example 3: mac catallina python3
$ brew install pyenv
Example 4: set python 3 as default mac
[ -e ~/.profile ] && . ~/.profile
Example 5: how to change mac default python version
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc