I’m pretty sure in my early days of developing I messed up my Python installation and installed and upgraded it in various different points of my PATH. For context, I am using a Mac with Apple M1 Pro silicon.
My /usr/local/bin/
folder looks like this: Fig. 1: /usr/local/bin/
My /usr/bin/
folder contains only the following Python exec: python3
Is this the correct version that is shipped out with Mac M1 chips inside /usr/bin/ or had this been tampered with by me in the past? As far as I know Macs all ship out with Python2.7?
When I run python --version
in ~ I get Python 3.9.6
.
How can I correct my PATH in order to return to the default native settings? Essentially what I want to know is what versions of Python should be in what points of my PATH on a freshly shipped out Apple M1.
I have already removed all Python kegs from brew.