On Apr 22, 2021, at 8:34 AM, Alexander Julian <ajulian@hawk.iit.edu> wrote:_______________________________________________Good morning,
I am currently trying to create a python script that hides atoms and shows ribbons in a .pdb file.
However, I am getting an error while trying to initialize a session. I've been trying to debug the problem to the best of my ability, but I am unable to figure out the issue.My code:```import chimerax.core.session as cxsessionsession = cxsession.Session('name')```My error:```File "./test.py", line 15, in <module>session = cxsession.Session('name')File "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/core/session.py", line 437, in __init__self.app_name = app_nameFile "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/core/session.py", line 508, in __setattr__if not name.startswith('_') and self.snapshot_methods(value, base_type=StateManager) is not None:File "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/core/session.py", line 535, in snapshot_methodsfrom .serialize import PRIMITIVE_TYPESFile "/opt/UCSF/ChimeraX/lib/python3.7/site-packages/chimerax/core/serialize.py", line 42, in <module>from ._serialize import msgpack_serialize_stream, msgpack_deserialize_stream, PRIMITIVE_TYPESImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory```I look forward to your assistance.--Best,AlexanderAlexander T. JulianPhD Student, Department of Biology, MicrobiologyBachelor of Science, Biomedical Engineering, Cell and Tissue Specialization 2021Master of Advanced Study, Chemical Engineering 2021Illinois Institute of TechnologyChicago, IL 60616Phone (727)-735-7104
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users