probably get an error messagebut it' worth checking to see if the version you want is already installed using homebrew to install python if you only have python installedor if you have an older version of python you can install the latest version of python using package called homebrew installing homebrew homebrew depends on apple' xcode packageso open terminal and run this commandxcode-select --install click through the confirmation dialogs that pop up (this may take whiledepending on the speed of your connectionnextinstall homebrewruby - "$(curl -fssl master/install)you can find this command on the front page of the homebrew site at the url note the - in this command tells ruby (the programming language homebrew is written into execute the code that' downloaded here you should only run commands like this from sources you trust to confirm that homebrew installed correctlyrun this commandbrew doctor your system is ready to brew this output means you're ready to install python packages through homebrew installing python to install the latest version of python enter the following commandbrew install python let' check which version was installed using this commandpython --version python installing python