Hi Nathan,
I guess you are not using the Python that comes with ChimeraX. You should start ChimeraX and use the ChimeraX command "open /path/to/myscript.py" to open it.
Tom
On Jun 29, 2021, at 7:25 PM, Nathan Wood via ChimeraX-users chimerax-users@cgl.ucsf.edu wrote:
To Whom it May Concern,
My name is Nathan Wood and I am currently a Google Summer of Code Intern with the OpenChemistry Group. Currently I am currently in the process of replacing Visualizing Molecular Dynamics (VMD) with ChimeraX as a means to visualizing computationally generated electrostatic potential diagrams. To accomplish this I am having to use the Python API in a script.
However, I am having difficulties enabling the Python API. When I execute a Tutorials example found in the online developer's documentation, I receive the error:
ImportError: No module named chimerax.core.commands
which suggests that the python modules were never installed properly. I also recieve similar errors when attempting to import the toolshed.
Otherwise, the ChimeraX GUI and its shell work properly and I am unsure how to resolve the API error.
I am currently using the Generic Linux 64 Bit Daily Release and can provide more information if necessary.
Any assistance would be greatly appreciated
Very Respectfully,
Nathan Wood
Undergraduate Year 3, GSOC Intern
University of Florida
ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users