Maria Campbell provides a post on installing the latest version of Python on Mac OS Catalina and overriding the old default pre-installed version. And it even uses Homebrew and not some gnarly steps.
Cclauss changed the title Python version for MAC catalina Python version for macOS Catalina May 11, 2021. Cclauss added the macOS label May 11, 2021. How to setup python environment on macOS. On this page I describe how to setup python environment on macOS Catalina (10.13). When I upgrade to a next major version of macOS it's almost always some problems appear - some tools stop working, eapecially if you use your system for software development.
This article will help you to set up a Python virtual environment on Mac OS or your Macbook.If you are a Mac user, you should know that Python 2.7.x comes pre-installed in your Macbook, but as that is required by your operating system, so you cannot modify it or update it and I would recommend that you don't use it at all. This is just to highlight that the Anaconda Python Distribution does not work with the latest MacOS Catalina. I only realized upon trying to open Anaconda Navigator, after installing Catalina. The only (good) solution seems to be reinstalling Anaconda. MacOS Catalina was released on October 7, 2019, and has been causing quite a stir for. 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.
I finally did it. I successfully installed Python
version 3.7.7
via Homebrew
on my Maclaptop with OS Catalina
installed.
For those of you that still might be trying to figure out how to do this, I will walk you through.
The reason why I was eager to make sure that I had the latest version installed was because I am working on publishing (open-source) teaching-related documentation
on Read The Docs
, and I need to have Python
installed in order to be able to install the programs necessary to publish
there.
Python Ide Mac Os Catalina
The default 2.7.17
version of Python
was retired this past January 2020
. I had tried back then to replace it with Python 3+
, but was unsuccessful at the time.
Python For Mac Os Catalina Free
They key appears to be also adding the following at the bottom of the .zshrc
file to update the path
to the newly installed version of Python
via Homebrew
:
See all the steps in the blog post here and podcast here.