Hi,

On Fri, Feb 28, 2014 at 4:44 PM, Joshua Meyers <joshua.mey...@icr.ac.uk>wrote:

>
> Hi,
>
> I have been trying to use rdkit in python but cannot seem to get it to
> import properly
> RDKit works fine through C++, I have compiled and can run programs but it
> will not import as a python module
>
> from rdkit import Chem
>
> Fatal Python error: PyThreadState_Get: no current thread
> Abort trap: 6
>
> I am using Mac OS X 10.8.5 and have home-brewed version of rdkit
> I have two versions of Python installed (the Mac default, and a newer
> version in /usr/local/bin/python which I believe is the problem but I can't
> seem to fix it through altering the $PATH variable in the terminal
>
>
This is almost always caused by using a different version of python/boost
than the one you used to build the RDKit, so I guess it is the second
installation that's causing the problem.

Based on the log file, it looks like you actually did use the system python
in that session, could it be that /usr/local/bin/python was used by
homebrew to build the rdkit?

If you try explicitly running /usr/local/bin/python, can you import the
rdkit from there?

-greg
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to