I am trying to run RDKit on Windows 7, and I am getting the DLL load error
which, according to the documentation, is due to missing Microsoft Visual
C++ Redistributable files. It is a 64-bit system with 64-bit python 2.7,
and I have installed RDKit using conda as per the instructions. According
to my Control Panel I have the following MSVC packages installed:

Microsoft Visual C++ 2005 Redistributable 8.0.61001
Microsoft Visual C++ 2005 Redistributable 8.0.59193
Microsoft Visual C++ 2005 Redistributable (x64) 8.0.56336
Microsoft Visual C++ 2005 Redistributable (x64) 8.0.61000
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161
Microsoft Visual C++ 2010 x64 Redistributable 10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable 10.0.40219
Microsoft Visual Studio 2010 Tools for Office Runtime (x64) 10.0.40303

Here is the text from my conda install of RDKit:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

H:\>conda create -c https://conda.anaconda.org/rdkit -n myrdkit27 rdkit
Fetching package metadata: ......
Solving package specifications: ....................
Package plan for installation in environment
C:\Users\nico.cantone\AppData\Local
\Continuum\Anaconda\envs\myrdkit27:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    setuptools-20.1.1          |           py27_0         674 KB

The following NEW packages will be INSTALLED:

    boost:        1.56.0-py27_3
    bzip2:        1.0.6-vc9_2           [vc9]
    mkl:          11.3.1-0
    msvc_runtime: 1.0.1-vc9_0           [vc9]
    numpy:        1.10.4-py27_0
    pip:          8.0.2-py27_0
    python:       2.7.11-2
    rdkit:        2015.09.2-np110py27_0
    setuptools:   20.1.1-py27_0
    wheel:        0.29.0-py27_0
    zlib:         1.2.8-vc9_2           [vc9]

Proceed ([y]/n)? y

Fetching packages ...
setuptools-20. 100% |###############################| Time: 0:00:00   4.60
MB/s
Extracting packages ...
[      COMPLETE      ]|##################################################|
100%
Linking packages ...
[      COMPLETE      ]|##################################################|
100%
#
# To activate this environment, use:
# > activate myrdkit27
#

H:\>python --version
Python 2.7.11 :: Anaconda 2.1.0 (64-bit)

H:\>activate myrdkit27
Deactivating environment
"C:\Users\nico.cantone\AppData\Local\Continuum\Anaconda
"...
Activating environment
"C:\Users\nico.cantone\AppData\Local\Continuum\Anaconda\e
nvs\myrdkit27"...

[myrdkit27] H:\>python --version
Python 2.7.11 :: Continuum Analytics, Inc.

[myrdkit27] H:\>

------------------------------------------------------------------------------------------------------------------------------------------------------------

And here is the text from my IPython console when trying to import Chem:

Jupyter QtConsole 4.1.1
Python 2.7.11 |Continuum Analytics, Inc.| (default, Jan 29 2016, 14:26:21)
[MSC v.1500 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 4.1.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
%guiref   -> A brief reference about the graphical user interface.

import rdkit

from rdkit import Chem
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-17d7acb427ab> in <module>()
----> 1 from rdkit import Chem

C:\Users\nico.cantone\AppData\Local\Continuum\Anaconda\envs\myrdkit27\lib\site-packages\rdkit\Chem\__init__.py
in <module>()
     16
     17 """
---> 18 from rdkit import rdBase
     19 from rdkit import RDConfig
     20

ImportError: DLL load failed: The specified module could not be found.

------------------------------------------------------------------------------------------------------------------------------------------------------------

What am I missing? Do I need to copy some of the MSVC files to a different
location? Do I need to set some environment variables? Thanks in advance
for any help you can provide.

Nico
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to