Install Python On Mac Catalina

(This is a reminder to myself, and maybe a help for someone else who might be in the same situation as me. The purpose was to be able to lint documentation I’m trying to update for the pip project work.)

So in Catalina these runtimes will still be available. Also, from the same document. Use of Python 2.7 isn’t recommended. This version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run python3 in Terminal.

  • In this episode, I discuss how I recently wrote a post entitled Installing the latest version of Python on Mac OS Catalina and overriding the old default pre-installed version about installing Python 3.7.7 on Mac OS Catalina with Homebrew. Python 3.7.7 was the latest version of Python that one could install.
  • For this blog post, I am going to use python 3.6. Download it from its official site and install it. Given below are the steps you need to follow to build OpenCV on macOS Catalina.

This applies to installing “the latest” Python on Mac OS X 10.15.6.

Is Python Already Installed On Mac

I’ve used this helpful How-TO. Everything worked until the very end where brew couldn’t create a necessary directory:

(no idea why!)

I reran install python and got:

InstallInstall

Install Python 2.7 Mac Catalina

Solution (hack?)

Install Python On Mac Catalina Os

The solution was to create the /usr/local/Framworks directory manually:

Then change the owner and group to mirror other directories (bernard:admin)

Install Python On Mac Catalina Free

And finally run the brew link command from above:

Install Python On Mac Catalina

And then I could start what I wanted to actually do. 🙂