<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 22 Jun 2022, at 00:55, Billy Poon &lt;<a href="mailto:BKPoon@lbl.gov" class="">BKPoon@lbl.gov</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">We ship our own python and 1.20.1 is the last Python 2 release. The next release will be in Python 3.</span></div></blockquote></div><br class=""><div class="">If I run&nbsp;<span style="color: rgb(242, 242, 242); font-family: Monaco; font-size: 12px; background-color: rgba(0, 0, 0, 0.82);" class="">sudo ./install --prefix=/Applications --try-unsupported</span><span style="color: rgb(242, 242, 242); font-family: Monaco; font-size: 12px; background-color: rgba(0, 0, 0, 0.82);" class="">&nbsp;</span></div><div class="">then I get right away&nbsp;<span style="color: rgb(242, 242, 242); font-family: Monaco; font-size: 12px; background-color: rgba(0, 0, 0, 0.82);" class="">./install: line 15: /usr/bin/python: No such file or directory</span></div><div class=""><br class=""></div><div class="">Obviously because there is no /usr/bin/python in Monterey but /usr/bin/python3…&nbsp;</div><div class="">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’</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Source installation specified.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/bin/sh: python: command not found</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; File "./bin/install.py", line 268, in &lt;module&gt;</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; installer(sys.argv[1:]).install()</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; File "/Users/florian/Downloads/phenix-installer-1.20.1-4487-source/lib/libtbx/auto_build/install_distribution.py", line 198, in install</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; self.install_from_source()</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; File "/Users/florian/Downloads/phenix-installer-1.20.1-4487-source/lib/libtbx/auto_build/install_distribution.py", line 367, in install_from_source</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; call(cmd, log=log)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; File "/Users/florian/Downloads/phenix-installer-1.20.1-4487-source/lib/libtbx/auto_build/installer_utils.py", line 55, in call</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">&nbsp; &nbsp; raise RuntimeError("Call to '%s' failed with exit code %d" % (args, rc))</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(242, 242, 242); background-color: rgba(0, 0, 0, 0.82);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">RuntimeError: Call to 'python modules/cctbx_project/libtbx/auto_build/bootstrap.py base build --builder phenix --nproc 10' failed with exit code 127</span></div></div><div class=""><br class=""></div><div class=""><div class="">And an alias does not do the trick either.</div><div class=""><br class=""></div></div><div class="">So what should I do?</div><div class=""><br class=""></div><div class="">Florian</div><div class=""><br class=""></div><div class=""><span style="color: rgb(242, 242, 242); font-family: Monaco; font-size: 12px; background-color: rgba(0, 0, 0, 0.82);" class=""><br class=""></span></div></body></html>