set python path to python 2.7 mac code example
Example 1: use python as python3 zsh
# Go into your .zshrc file. Is there a line that reads:
alias python='python3'
Example 2: install python macos catalina
export PATH=/usr/local/opt/python/libexec/bin:$PATH