- Download and execute the latest version of the official Python 3.9 Installer.
- Once installed, accept the certificates for Python3.
- Next, append the following to your
~/.bashrc
:
export PATH="$PATH:$HOME/usr/local/bin/python3.9:$HOME/Library/Frameworks/Python.framework/Versions/3.9/bin" # make python3 accessible
alias pip=pip3 # use pip3 whenever we make a call to pip