On 22 Jun 2022, at 00:55, Billy Poon <[email protected]> wrote:

We ship our own python and 1.20.1 is the last Python 2 release. The next release will be in Python 3.

If I run sudo ./install --prefix=/Applications --try-unsupported 
then I get right away ./install: line 15: /usr/bin/python: No such file or directory

Obviously because there is no /usr/bin/python in Monterey but /usr/bin/python3… 
I can change ‘python' by ‘python3’ in the install script to go one step further, but it fails later because the install scripts always call ‘python’ instead of ‘python3’

Source installation specified.
/bin/sh: python: command not found
Traceback (most recent call last):
  File "./bin/install.py", line 268, in <module>
    installer(sys.argv[1:]).install()
  File "/Users/florian/Downloads/phenix-installer-1.20.1-4487-source/lib/libtbx/auto_build/install_distribution.py", line 198, in install
    self.install_from_source()
  File "/Users/florian/Downloads/phenix-installer-1.20.1-4487-source/lib/libtbx/auto_build/install_distribution.py", line 367, in install_from_source
    call(cmd, log=log)
  File "/Users/florian/Downloads/phenix-installer-1.20.1-4487-source/lib/libtbx/auto_build/installer_utils.py", line 55, in call
    raise RuntimeError("Call to '%s' failed with exit code %d" % (args, rc))
RuntimeError: Call to 'python modules/cctbx_project/libtbx/auto_build/bootstrap.py base build --builder phenix --nproc 10' failed with exit code 127

And an alias does not do the trick either.

So what should I do?

Florian