Open huwjenkins opened 1 year ago
I suspect this comes from 00281bbad79f43bfd9e7b8f07c8fb48eed09d724 but I'm confused how it worked before as this machine has never had /usr/bin/python
Does the installer work if you add the --try-unsupported
flag?
For DIALS installers, I believe a branch in a fork of cctbx_project
is used. Does that branch have the commit you are referring to?
Also, in the installation script, if there is a conda_base/bin
directory, the python
in that directory will be used.
I worked around with:
PYTHON_EXE=./build/bin/python ./install --prefix=/path/to/install
DIALS has a similar commit here: https://github.com/dials/cctbx/commit/b8a70b34d20a30eb8474216512c0da15de20958b
I didn't try --try-unsupported
. Does cctbx not support MacOS 12.6 on Apple silicon - that surprises me? Either way the installer failure is misleading as mac-intel-osx-x86_64-10.9
is wrong in at least 2 ways (intel and x86_64).
Also, in the installation script, if there is a conda_base/bin directory, the python in that directory will be used.
Thanks - that explains why it worked before.
I'll look into updating the machine type and doing native Apple Silicon build. I'll probably remove the addition of 10.9
. The use of conda_base/bin/python
essentially causes that check to always pass.
We do support Apple Silicon. I have been using a M1 Pro for almost a year now. We also have cctbx conda packages for Apple Silicon on the conda-forge
channel.
DIALS v3-11-2 refuses to install on my M1 Mac. v3-11-1 worked fine. The issue is in libtx so reporting here. In this version
os.uname()
here:https://github.com/cctbx/cctbx_project/blob/0caf7ea69b90f7fd3f6fa5374ed2aaf3c806fb58/libtbx/auto_build/installer_utils.py#L176 returns:
i.e.
machine='arm64'
and so mtype is set tomac-intel-osx-x86_64-10.9
rather thanmac-intel-osx-x86_64
which is not in the list here:https://github.com/cctbx/cctbx_project/blob/0caf7ea69b90f7fd3f6fa5374ed2aaf3c806fb58/libtbx/auto_build/install_distribution.py#L115-L121
Error is: