Another option is to use a version manager like pyenv. You can install with homebrew and it will allow you to install specific versions of Python at different levels (globally use Python 3.7 but use 2.7 in a specific directory, etc).
It works by adding a shim to the $PATH and calling the defined version. I prefer this approach because you don't run into weird issues by changing the Python reference directly.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.