Hi Greg,

I've added usr/local/bin/src/RDkit_2011_03_2/lib to my  
DY_LIBRARY_PATH. I no longer get the original error, but now get the  
following instead:

Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap

Did a google search and found some answers to do with MacOSX linking  
to the wrong python libraries, could it be linking to 3.0? If so do  
you know how I can fix this?

Thanks,

Sarah

On 22 Jul 2011, at 16:30, Greg Landrum wrote:

> Dear Sarah,
>
> On Fri, Jul 22, 2011 at 4:49 PM, Sarah Langdon <[email protected] 
> > wrote:
>> I have just installed RDkit on Mac OSX 10.5 but am having some  
>> trouble
>> getting it to work in Python.
>>
>> When I try to import the Chem library from rdkit (using Python  
>> 2.5), I
>> get the following error.
>>
>>   File "<stdin>", line 1, in <module>
>>   File "/usr/local/bin/src/RDkit_2011_03_2/rdkit/Chem/__init__.py",
>> line 18, in <module>
>>     from rdkit import rdBase
>> ImportError: dlopen(/usr/local/bin/src/RDkit_2011_03_2/rdkit/
>> rdBase.so, 2): Library not loaded: libRDGeneral.1.dylib
>>   Referenced from: /usr/local/bin/src/RDkit_2011_03_2/rdkit/rdBase.so
>>   Reason: image not found
>>
>
> Do you have  /usr/local/bin/src/RDkit_2011_03_2/lib in your  
> DY_LIBRARY_PATH ?
>
>> I've also tried to import the library using Python 3.0 and get the
>> following different error message.
>
> The RDKit does not support Python 3.0.
>
> -greg


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.

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to