Hi,

 

I have just started to use PyMol. I wish link some scripts I have written in python with PyMol using PyMolís API. From what I understand, all I need to do is import the module pymol.cmd and call the functions contained within.

 

However, when I attempt to import this module, I get the following error:

 

>>> from pymol import cmd

Traceback (most recent call last):

  File "<pyshell#0>", line 1, in ?

    from pymol import cmd

  File "C:\Program Files\DeLano Scientific\PyMOL/modules\pymol\__init__.py", line 137, in ?

    import _cmd

ImportError: No module named _cmd

 

Where have I gone wrong? Any help would be appreciated.

 

 

Michael Sorich

PhD Student

School of Pharmaceutical, Molecular and Biomedical Sciences

University of South Australia

Email: michael.sorich@postgrads.unisa.edu.au

           mike_sorich@hotmail.com

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002