how to update python on mac to 3.8 code example Example: install python in mac brew install python3 brew install python2