Dear PyMOL Users,
I am trying to run some pymol functions from a python script. For
simplicity purposes, the script is called "script.py" and it's as simple as
this :
#cat script.py
import pymol
#
Then I run it like this :
#export PYMOL_PATH=/opt/soft/pymol-v1.5.0.3
#export PYTHONPATH=/opt/soft
Hi David,
incentive pymol builds have the python interpreter and the _cmd module built
into the pymol.exe executable. This means running the script with your system
python is not supported. Instead, run your script with pymol, without the GUI,
like this:
/opt/soft/pymol-v1.5.0.3/pymol -cqr scr