Let's try this one last time.  Somehow I got two early sends of that
e-mail.  I apologize for the now triple post!

As I was saying...

I'm trying to install RDKit on a 64-bit Windows 7 instance (in
VirtualBox).  I've done the following:

installed Python 2.7 (32-bit)
installed NumPy (for Python 2.7 32-bit)
installed PIL (for Python 2.7 32-bit)

environment variables are:

RDBASE = c:\RDKit_2014_09_1
PYTHONPATH = %RDBASE%
PATH = %PATH%;%RDBASE%\lib


>From a Python instance, I get this:

Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]
on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdkit
>>> from rdkit import Chem
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\RDKit_2014_09_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've search the discuss archives, and found details (links below) about
making sure the VC++ redistributables are present - they are.  I see in
RDKit\lib there are two files named *vc100*.dll, so I assume having the
msvcp100.dll and msvcr100.dll are the correct versions.  I've tried moving
them to the RDKit\lib folder - no luck.  I've also tried renaming any/all
of them without the *100* version stamp - again, no luck.

Running dependency walker, PYTHON27.DLL is marked as not found.  I do see
it in C:\Windows\SysWOW64, however.  It also appears that all of the marked
DLLs have a 64 next to them, suggesting everything has been compiled for
64-bit.  I've double checked that I am indeed using the 32-bit versions of
RDKit.  (I tried going to 64-bit, but I find that NumPy isn't available for
64-bit Python.)

The last piece that I notice off, is within the
RDKit_2014_09_1.win32.py27.zip file, the compressed directory is actually
titled RDKit_2014_03_1.  I assume this is just a typo, but is it the right
version?

Any help is greatly appreciated.

-Kirk


RDKit-discuss archive links:
http://www.mail-archive.com/rdkit-discuss%40lists.sourceforge.net/msg02558.html
http://www.mail-archive.com/[email protected]/msg02381.html




On Sun, Nov 9, 2014 at 4:37 PM, Robert DeLisle <[email protected]> wrote:

> OOPS!
>
> On Sun, Nov 9, 2014 at 4:37 PM, Robert DeLisle <[email protected]>
> wrote:
>
>> Hi again, all!
>>
>> I'm trying to install RDKit on a 64-bit Windows 7 instance (in
>> VirtualBox).  I've done the following:
>>
>> installed Python 2.7 (32-bit)
>> installed NumPy (for Python 2.7 32-bit)
>> installed PIL (for Python 2.7 32-bit)
>>
>> environment variables are:
>>
>> RDBASE = c:\RDKit_2014_09_1
>> PYTHONPATH = %RDBASE%
>> PATH = %PATH%;%RDBASE%\lib
>>
>>
>> From a Python instance, I get this:
>>
>> Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]
>> on win
>> 32
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import rdkit
>> >>> from rdkit import Chem
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File "C:\RDKit_2014_09_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've search the discuss archives, and found details about making sure the
>> VC++ redistributables are present - they are.  I see in RDKit\lib there are
>> two files named *vc100*.dll, so I assume having the msvcp100.dll and
>> msvcr100.dll are the correct versions.  I've tried moving them to the
>> RDKit\lib folder - no luck.  I've also tried renaming any/all of them
>> without the *100* version stamp - again, no luck.
>>
>> Running dependency walker, PYTHON27.DLL
>>
>
>
------------------------------------------------------------------------------
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to