Hi JP,

On Tue, May 14, 2013 at 3:43 PM, JP <[email protected]> wrote:

> On:
>
> jpebe@ned:~/dphil/ligity_vs_es_tests$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 12.04.2 LTS
> Release: 12.04
> Codename: precise
>
> Fresh rdkit install via:
>
> sudo apt-get install python-rdkit librdkit1 rdkit-data
>
> Gives:
>
> >>> import rdkit
> >>> from rdkit import Chem
> >>> s = Chem.ForwardSDMolSupplier('test.sdf')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'ForwardSDMolSupplier'
> >>>
>
> Any ideas?
>

The version of the RDKit that is available via deb in ubuntu 12.04 is
v2011.06. The ForwardSDMolSupplier was not added to the python wrappers
until v2011.12.1. ubuntu 12.10 includes v2012.03, so it should have
ForwardSDMolSupplier.

I don't believe that there's a backport version of the v2012.03 package
available, so, unfortunately, on the current LTS version of Ubuntu (12.04),
you will need to install from source to get the functionality.

-greg
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to