Hi Osvaldo, I guess you have CHEMPY_DATA, PYMOL_DATA or PYMOL_PATH set in your environment. Try to unset it first or set it to the correct path and then run your script.
Hint: there must be a directory $CHEMPY_DATA/fragments or $PYMOL_DATA/chempy/fragments or $PYMOL_PATH/data/chempy/fragments Cheers, Thomas Osvaldo Martin wrote, On 08/01/13 20:39: > Hi, > > When Running PyMOL from a python script I get the error message > "unable to import fragment XXX", where XXX is 'ala', 'cys', 'acetylene' etc. > > I get this message when I try to use the mutagenesis wizard or any other > function that need access to the fragment library, like adding a alanine > residue with "ALT+A" > > The header of my script is > > import pymol > from pymol import cmd, stored > pymol.finish_launching() > > I try importing everything from pymol using > > from pymol import * > > but I get the same error. > > Thanks in advance. -- Thomas Holder PyMOL Developer Schrödinger Contractor ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net