Python3 "can't be opened because the original item can't be found."

So I wanted to compile a program in the Arduino IDE and I came across the error message "no such file or directory and after some research I realized that the symbolic link does not point to the correct file. After I found the path with 'where python' /usr/local/bin/python, I created a new symbolic link to this file. But the compiler still showed this error message and I wondered why it still didn't work, so I searched for my python3 alias and discovered that the alias was not found in the bin folder. Now I wonder how I can get my python installed and working again? It should be installed by default by macOS so I would like to use it without using homebrew for it.

MacBook Pro 14″, macOS 14.2

Posted on Jan 15, 2024 12:40 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 15, 2024 1:23 PM

As of macOS 12.3, Apple permanently removed the Python distribution from the operating system. Now, you need to install Python3 (3.12.1) from Python.org (its a Universal2 binary) and it will place Python3 into /usr/local/bin. I would not advise installing Python3 from any other source including homebrew.


Or using the following command, you can install an older, more emaciated Python3 (3.9.6) distribution into /usr/bin by installing the Command LIne Tools for Xcode:


xcode-select --install



Although Python 2.7.18 is long since deprecated, Python.org still has it for download and compatibility with those Python applications and modules still incompatible with Python3.


You will find that these are Mac oriented communities and assistance with Arduino development here is likel to be very limited.

Similar questions

2 replies
Question marked as Top-ranking reply

Jan 15, 2024 1:23 PM in response to Frostfield

As of macOS 12.3, Apple permanently removed the Python distribution from the operating system. Now, you need to install Python3 (3.12.1) from Python.org (its a Universal2 binary) and it will place Python3 into /usr/local/bin. I would not advise installing Python3 from any other source including homebrew.


Or using the following command, you can install an older, more emaciated Python3 (3.9.6) distribution into /usr/bin by installing the Command LIne Tools for Xcode:


xcode-select --install



Although Python 2.7.18 is long since deprecated, Python.org still has it for download and compatibility with those Python applications and modules still incompatible with Python3.


You will find that these are Mac oriented communities and assistance with Arduino development here is likel to be very limited.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Python3 "can't be opened because the original item can't be found."

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.