Return to site

Install python module mac for python 3

broken image
broken image

Naturally, a clear course of action would be to delete the old version of Python and install the latest version from Python’s official website. The problem is it’s deprecated and is not recommended for use in new projects. There are older versions as well, but 2.7 is the latest pre-installed version. The Python version that comes pre-installed in macOS is 2.7. While you can also work with recent versions like Python 3.8, the latest version is recommended for utmost compatibility. Modern applications and libraries require the latest version of Python, which, at the time of this publication, is 3.9.4. But it isn’t so much when you’re planning on working with Python for your projects. That’s essential for utmost compatibility. Macs come with multiple versions of Python pre-installed. What I took for granted is the possibility that it would be a nightmare to install and set up Python on my Mac. I thought it would be an easy task as I’d simply install Python and then change file paths within my code to match macOS’ filesystem.

When I recently switched over from my Windows PC to an M1 MacBook Air, I realized I also needed to transfer the Python scripts I wrote for discovering and reporting news at The 8-Bit.