How to Install Python3 via Homebrew on macOS

I just had to install Python 3 on both Macs and the whole process had some issues, so this is what I had to do to get everything running correctly:

I assume you already have Homebrew installed; if not then follow the instructions here and then run the following commands…

brew update

brew upgrade

sudo mkdir -p /usr/local/Frameworks

sudo chown -R $(whoami) /usr/local/* if using bash or sudo chown -R (whoami) /usr/local/* for fish

brew install python3

brew link python3

brew doctor

That’s it.