sudo script to update python2 to python3 on mac code example Example: mac catallina python3 $ brew install pyenv