Re: [PyMOL] ImportError: No module named _cmd

2007-01-31 Thread Peter Adrian Meyer
You could also try to add sys.path.append(dllpath) to your python script, where dllpath is the full path to the location of the pymol dll's. Of course, this approach might run into problems with different python versions; but depending on what you're trying to do it might be worth a shot (if ther

Re: [PyMOL] ImportError: No module named _cmd

2007-01-30 Thread DeLano Scientific
Yun, Precompiled PyMOL builds for Windows run inside their own Python interpreter. Thus, to access PyMOL from Python, you need to run your script from within PyMOL. An easy way to do this is to give your script a ".pym" extension. Cheers, DeLano Scientific LLC Subscriber Support Services mailt