9

I am trying to get rdkit working on my Windows 7 system with Anaconda and Python 2.7. I have been following the instructions from http://www.rdkit.org/docs/Install.html

conda create -c https://conda.anaconda.org/rdkit -n my-rdkit-env rdkit
activate my-rdkit-env

I then get the following:

Deactivating environment "C:\Anaconda2"...

Activating environment "C:\Anaconda2\envs\my-rdkit-env"

However, if I then open a Jupyter notebook, and try to

import rdkit

It fails with

ImportError: No module named rdkit

Any help would be greatly appreciated!

Community
  • 1
  • 1
Crath
  • 91
  • 1
  • 3
  • You either have to install jupyter in your `my-rdkit-env` environment, or install an ipython kernel in the `my-rdkit-env` environemnt, as described here: http://stackoverflow.com/questions/30492623/using-both-python-2-x-and-python-3-x-in-ipython-notebook – cel May 15 '16 at 18:45

2 Answers2

5

I had the same problem, but

conda install -c conda-forge rdkit

worked out with ease.

banan3'14
  • 2,836
  • 2
  • 19
  • 41
0

I solved the problem. please install ipykernel by conda and it should work as normal.

Sankho Roy
  • 13
  • 3