Install Python3:
Run the following command in terminal:
brew install python3
Add 2 alias in the ~/.bash_profile file:
# Set pip3 and python3 as default.
alias python=python3
alias pip=pip3
Run the following command in terminal:
brew install python3
# Set pip3 and python3 as default.
alias python=python3
alias pip=pip3