RE: [PyMOL] importing pymol modules in a python script

2006-04-20 Thread Warren DeLano
lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Alan > Sent: Thursday, April 20, 2006 5:37 AM > To: Pymol > Subject: [PyMOL] importing pymol modules in a python script > > Hello List! > > I want a python script likewise: > > #!/usr/bin/p

[PyMOL] importing pymol modules in a python script

2006-04-20 Thread Alan
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=/usr/local/pymol/modules' I got this error: from pymol import editor File "/usr/local/pymol/modules/pym