Hello List!
I want a python script likewise:
#!/usr/bin/python -O
import sys, tempfile
from pymol import editor
from pymol import cmd
....
....
However, even defining 'export PYTHONPATH=3D/usr/local/pymol/modules'
I got this error:
from pymol import editor
File "/usr/local/pymol/modules/pymol/__init__.py", line 353, in ?
import _cmd
ImportError: No module named _cmd
Is there a way to run the python script with pymol stuff imported or
only via 'pymol -c'?
Many thanks in advance.
Alan
--
Alan Wilter S. da Silva, D.Sc. - Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
|