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
I've also tried to import the library using Python 3.0 and get the
following different error message.
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
from rdkit import Chem
File "/usr/local/bin/src/RDkit_2011_03_2/rdkit/Chem/__init__.py",
line 57
raise ValueError,"unrecognized extension: %s"%ext
^
SyntaxError: invalid syntax
Do you know how I can solve this? Also, when I run make test I only
pass 34%of tests, could this be the problem?
Thanks,
Sarah
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