Hi Martin,

Which version of PyMOL are you using?
How did you install PyMOL?
These details matter because there are several paths for installing PyMOL on 
Linux.
Some paths use the system python and some do not.
The incentive PyMOL has Anaconda Python bundled inside.

You could install Ancaonda3 and then create a conda env called pymolconda.
Then you can activate this env, install pymol with conda, and then call pymol 
as module with the Anaconda Python.

Best regards,

Best regards,

Blaine

Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology, College of Medicine
Director of the Laboratory of Biomolecular Structure and Function
Academic Director, Biomolecular Structure Core, COBRE in Structural Biology
Full Member, Cancer Biology Program, Stephenson Cancer Center
University of Oklahoma Health Sciences Center

Mailing Address:
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419
Office: 405-271-8300 Lab: 405-271-8312

Websites:
Faculty page: 
https://basicsciences.ouhsc.edu/bmb/Faculty/bio_details/mooers-blaine-hm-phd
BSC-OKC (LBSF): 
https://research.ouhsc.edu/Core-Facilities/Laboratory-of-Biomolecular-Structure-and-Function
COBRE in Structural Biology: https://www.ou.edu/structuralbiology
________________________________
From: Martin Urban <martin.ur...@studmail.w-hs.de>
Sent: Saturday, June 11, 2022 2:34 AM
To: pymol-users@lists.sourceforge.net <pymol-users@lists.sourceforge.net>
Subject: [EXTERNAL] [PyMOL] PyMOL scripting issues

Hello,

I have a problem with PyMOL. I am writing a more complex automation
script, and I want to import pymol's cmd module. The problem is that the
python interpreter on my linux system doesn't recognize pymol and it
throws an ModuleNotFound Error. I have a Ubuntu system and I installed
pymol with the apt package manager. Does anyone know how the systems
python3 interpreter can find the cmd module from PyMOL?

Greetings from Germany,

Martin

--

Martin Urban

Westfälische Hochschule / Westphalian University of Applied Sciences
Fachbereich Ingenieur- und Naturwissenschaften (FB 8) / Department of
Engineering and Natural Sciences
August-Schmidt-Ring 10
D-45665 Recklinghausen, Germany


_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to