Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing rdkit on anaconda #1996

Closed
aebk2015 opened this issue Aug 4, 2018 · 5 comments
Closed

installing rdkit on anaconda #1996

aebk2015 opened this issue Aug 4, 2018 · 5 comments
Labels

Comments

@aebk2015
Copy link

aebk2015 commented Aug 4, 2018

I am confused on how to install rdkit and deepchem. Here I am listing the problems I am having and I appreciate your help.

rdkit: After several trials, I finally figured out rdkit is only available on python2. Following the recommendation on their site, I installed rdkit:

$ conda create -n rdkit -c rmg rdkit
$ source activate rdkit 

I made sure the rdkit is successfully installed as I got the right version when invoking from the terminal window:

>>> rdkit.__version__
'2016.03.4'

However, when I open the jupyet notebook, and import the rdkit, I got the error:

ImportError                               Traceback (most recent call last)
<ipython-input-1-6b72bd8913ab> in <module>()
----> 1 import rdkit

ImportError: No module named rdkit
@bp-kelley
Copy link
Contributor

You are probably using the wrong kernel inside Jupyter, there should be a drop down menu at the top ( named Kernel I believe ) where you can select the environment you just made “rmg”.

@aebk2015
Copy link
Author

aebk2015 commented Aug 5, 2018

Thanks! under kernel, I have python2 and python37 (where I have python 3 installation) and i tried both but still it returns the same error (No module name rdkit). I don't see 'rmg' under kernel drop down menu nor do I see in the env folder (weird)

@greglandrum
Copy link
Member

Try installing jupyter in the same environment where you've installed the rdkit.

@aebk2015
Copy link
Author

aebk2015 commented Aug 7, 2018

Thanks, it worked

@greglandrum
Copy link
Member

I'm closing this because it looks like the question is answered. Please reopen if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants