I've tried using the latest binary too (RDKit_2012_06_1) and still get the same 
error message.  No error if I try to import just rdkit or RDConfig.

Alan



________________________________
 From: stanley5101 <[email protected]>
To: "[email protected]" <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Friday, 10 August 2012, 18:35
Subject: Re: [Rdkit-discuss] windows binary install
 

Hi Jan,
thanks for your suggestion.  The binary I downloaded was called 
RDKit_2012_03_1.win32.py27.zip so I thought it was the right one for the python 
installation.  
Alan

From: Jan Holst Jensen <[email protected]>
To: stanley5101 <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Thursday, 9 August 2012, 16:13
Subject: Re: [Rdkit-discuss] windows binary install


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to