set python 3 as default on mac pip 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: use python as python3 zsh
# Go into your .zshrc file. Is there a line that reads:
alias python='python3'