I installed Monterey 12.6.2 on a new system disk on an upgraded iMac 12.2. One of the first steps was to install all programs.
One of the applications unfortunately installs, but crashes upon opening before registering, etc. When inspecting the various log files, I found out that:
... /Applications/.../Contents/Resources/Scripts/readPlist.py: /usr/bin/python: bad interpreter: No such file or directory
A % python --version
resulted in no python to be found, and indeed python has been removed from Monterey. Apparently it has been replaced by pyhton3. In addition I installed python through brew % brew install python
and tried to rerun the application with the same error message.
I thought I needed to link the /usr/bin/python
to /usr/local/Cellar/python
, but in Monterey I get the message, that I do not have access, since it is a Read-only file system.
When inspecting python I get the following versions:
python3 --version && which python3
Python 3.9.6
/usr/bin/python3
and
python --version && which python
Python 3.10.8
/usr/local/opt/python/libexec/bin/python
How can I link calls to /usr/bin/python
to /usr/bin/python3
or /usr/local/opt/python/libexec/bin/python
?