Dear Felix,

On Thu, Oct 27, 2011 at 12:41 AM, Felix Krueger
<momo.san...@googlemail.com> wrote:
> I tried building RDKit in a Ubuntu virtual machine. The output said the
> build was successful, ctest gave a number errors:
>        3 - pyBV (Failed)
<snip>
>       76 - pythonTestDirChem (Failed)
> I think I know why these tests fail...when I try importing Chem, I get:
> from rdkit import Chem
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/home/mo/Library/RDKit_2011_09_1/rdkit/Chem/__init__.py", line 18,
> in <module>
>     from rdkit import rdBase
> ImportError: cannot import name rdBase
> I see rdBase.so sitting in $RDBASE/build/rdkit and I've got it in my PATH,
> PYTHONPATH and LD_LIBRARY_PATH...
> Would anyone know, is this an issue of finding the module or is there a
> problem with the way it was built?

Did you do a "make install" after you did the "make"?
rdBase.so should end up being put in $RDBASE/rdkit when you do this.
Then you need to be sure that $RDBASE is in your PYTHONPATH and that
$RDBASE/lib is in your LD_LIBRARY_PATH.

-greg

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to