On 2012-08-09 00:13, stanley5101 wrote:
Hi,
I'm trying to install the Windows binary of RDKit but having a
problem. After
from rdkit import Chem
I get
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
from rdkit import Chem
File "C:\RDKit_2012_03_1\rdkit\Chem\__init__.py", line 18, in <module>
from rdkit import rdBase
ImportError: DLL load failed: %1 is not a valid Win32 application.
I am using the Enthought Python distribution (EPD 7.0-2 32 bit python
2.7.1) on Windows 7 64 bit. I have the following environment variables:
PYTHONPATH %RDBASE%
RDBASE C:/RDKit_2012_03_1
Path ;%RDBASE%/lib; (amongst other things)
I'd be grateful for any suggestions as to what is going wrong and a
fix. Is the 64 bit OS an issue?
thanks,
Alan
Hi Alan,
It sounds like you are trying to load a 64-bit RDKit library in a 32-bit
Python environment. Is that the case ? The RDKit bitness must be the
same as the Python version you are using, which is 32-bit ("EPD 7.0-2
*32 bit python* 2.7.1").
Kind regards
-- Jan Holst Jensen
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss