Dear Takayuki,

On Sun, Apr 21, 2013 at 1:30 PM, Taka Seri <[email protected]> wrote:
>
> I'm interested in this work
> I want to use PandasTools.
> But I got error message, "ImportError: cannot import name pyAvalonTools".

I just checked in a modified version that will work when the avalon
tools are not installed.

If you want to install the avalon tools anyway, there's information
below that shows how:

>
> So, I tried to rebuild RDKit like this.
> $ cmake -D RDK_BUID_AVALON_SUPPORT=ON
> But build was failed.
>
> -- Configuring done
> CMake Error at Code/cmake/Modules/RDKitUtils.cmake:35 (add_library):
>   Cannot find source file:
>
>     /common/layout.c
>
>   Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>   .hxx .in .txx
> Call Stack (most recent call first):
>   External/AvalonTools/CMakeLists.txt:43 (rdkit_library)
>
> If anyone who has suggestion, please help me.

You need to tell it where to find the source for the avalon tools.

- Download the source from here:
http://sourceforge.net/projects/avalontoolkit/files/AvalonToolkit_1.1_beta/AvalonToolkit_1.1_beta.source.tar/download

- Create an avalon tools directory somewhere, for example in
/usr/local/src/avalontools.
- Extract the tar file in that directory.
- Run cmake as follows:
cmake -DAVALONTOOLS_DIR=/usr/local/src/avalontools/SourceDistribution
-DRDK_BUILD_AVALON_SUPPORT=ON

Best,
-greg

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to