set default python path to python3 mac code example
Example 1: how to set default python version in macos
ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
Example 2: mac catallina python3
$ brew install pyenv
ln -s -f /usr/local/bin/python3.7 /usr/local/bin/python
$ brew install pyenv