[chimerax-users] Session Initiation Error
Alexander Julian
ajulian at hawk.iit.edu
Thu Apr 22 08:34:50 PDT 2021
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 cxsession
session = 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_name
File
"/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_methods
from .serialize import PRIMITIVE_TYPES
File
"/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_TYPES
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such
file or directory
```
I look forward to your assistance.
Best,
Alexander
--
*Alexander T. Julian*
PhD Student, Department of Biology, Microbiology
Bachelor of Science, Biomedical Engineering, Cell and Tissue Specialization
2021
Master of Advanced Study, Chemical Engineering 2021
Illinois Institute of Technology
Chicago, IL 60616
*Phone (727)-735-7104*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210422/e8d267cf/attachment.html>
More information about the ChimeraX-users
mailing list