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

Here is the error file:



The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company 
Limited by Guarantee, Registered in England under Company No. 534147 with its 
Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addressee only.  If the 
message is received by anyone other than the addressee, please return the 
message to the sender by replying to it and then delete the message from your 
computer and network.

Attachment: rdkit_error.log
Description: rdkit_error.log



here is the extract from my .bash_profile

#export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH #the directory below contains a symbolic link to the python executable here
export PATH=/usr/local/bin/:$PATH

export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH

#rdkit
export RDBASE=/usr/local/share/RDKit
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$RDBASE/lib

any help would be greatly appreciated,
I have been having this problem for a while now…

Many thanks,
Josh

------------------------------------------------------------------------------
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