Hi Guys,
I am trying to use ChimeraX with Modeller to fill in a few small gaps in my PDB file. However, when I run modeller from ChimeraX I get the following error:
dyld[77819]: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: <498CB722-A7BC-378D-A38D-3A690F9D635B> /Library/modeller-10.6/bin/mod10.6_mac10v4
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/Python.framework/Versions/2.7/Python'
(no such file), '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file, not in dyld cache), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
Exception in thread Thread-10 (threaded_run):
Traceback (most recent call last):
File "/Applications/ChimeraX-1.7.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chimerax/modeller/common.py", line 708, in threaded_run
_ = subprocess.run(cmd, capture_output=True, text=True, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/ChimeraX-1.7.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/Library/modeller-10.6/bin/mod10.6_mac10v4', '/var/folders/wn/dw9ws1756cjfsv3p6m3lphmc0000gn/T/tmpj5w_luqj/ModellerModelling.py']' died with <Signals.SIGABRT: 6>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Applications/ChimeraX-1.7.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/Applications/ChimeraX-1.7.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/Applications/ChimeraX-1.7.1.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chimerax/modeller/common.py", line 720, in threaded_run
raise UserError("Modeller execution failed; output and errors in log")
chimerax.core.errors.UserError: Modeller execution failed; output and errors in log
It seems that the python2.7 is the issue, but I’m not sure which file to edit to point it to a new version (I’m on python 3.12). I’ve also tried this with ChimeraX 1.9 and 1.8 with the same error. Can you point me in the right direction?
Thanks!
Matt Goff