install python version 3.6 on mac code example Example: install python in mac brew install python3 brew install python2