Python For Macos Catalina

As Apple has announced, Mac OS Catalina now runs under its own read only file system: macOS Catalina runs on a dedicated, read-only system volume called Macintosh HD. This volume is completely separate from all other data to help prevent the accidental overwriting of critical operating system files. 1 Sounds great. In this video, I walk you through the process of installing Python 3 and properly setting it up so that it becomes the default instead of the System Python 2.

I'm still working on getting pyenv in my bloodstream. It seems like totally the right tool for having different versions of Python available on macOS that don't suddenly break when you run brew upgrade periodically. But every thing I tried failed with an error similar to this:

I read through the Troubleshooting FAQ and the 'Common build problems' documentation. xcode was up to date and I had all the related brew packages upgraded. Nothing seemed to work.

Until I saw this comment on an open pyenv issue: 'Unable to install any Python version on MacOS'

Download python for macos catalina

Python 2.7 Macos Catalina

All I had to do was replace the 10.14 for 10.15 and now it finally worked here on Catalina 10.15. So, the magical line was this:

Hopefully, by blogging about it you'll find this from Googling and I'll remember the next time I need it because it did eat 2 hours of precious evening coding time.

Python Idle Macos Catalina

Related posts

Previous:
redirect-chain - Getting a comfortable insight input URL redirects history14 February 2020
Next:
How to install Node 12 on Ubuntu (Eoan Ermine) 19.1008 April 2020

Download Python For Macos Catalina

For

Python For Mac Catalina

Related by category:
How much faster is Redis at storing a blob of JSON compared to PostgreSQL?28 September 2019Python
Best practice with retries with requests19 April 2017Python
Fastest way to find out if a file exists in S3 (with boto3)16 June 2017Python
Interesting float/int casting in Python25 April 2006Python
Fastest way to unzip a zip file in Python31 January 2018Python