


Use the command line xcode-select -install to install the CLT. Unless you do something deliberate, you cannot overwrite the system python, nor should you, parts of the OS still use it.Īpple distributes python 3.7 and python 3.8 as part of the Command Line Tools, and you can install and use that. There is no problem with having multiple versions of python installed, you should install what you want to use. The reason people tell you not to use the system python is that it is python 2.7, which is no longer supported by. There isn't going to be an "authoritative" source. Sorry, I know this is a flood of questions, I'm just trying to understand how the OS works regarding installers/ brew. If I were to install python2 and python3 via either of the above two methods, would they replace the system versions of python? If they don't replace the system python, are the brew/installer versions automatically sourced first in my PATH? Is there an authoritative source, or somewhere that explains the pros and cons of the different methods? I use pip extensively, is there a method that will cause the least amount of issues with that? I'm also seeing some posts saying that I shouldn't use the installer, but instead should use Homebrew to install python2 and python3.

I'm also seeing some posts that say I shouldn't use the pre-installed version and should download the installer from. I'm a long-time Linux user, just bought my first macOS computer.įor python development, I'm seeing that python is already installed on my Mac. I'm seeing a fair amount of conflicting information on Reddit and Stack Overflow on this topic.
