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

Cannot import rdEHTTools #82

Closed
ChayaSt opened this issue Oct 10, 2019 · 2 comments
Closed

Cannot import rdEHTTools #82

ChayaSt opened this issue Oct 10, 2019 · 2 comments

Comments

@ChayaSt
Copy link

ChayaSt commented Oct 10, 2019

According to this blog post, 2019.03 RDKit release conda package has EHT integration. I installed RDKit version 2019.03.4 using conda but cannot import rdEHTTools

2019.03.4
Thu Oct 10 11:08:44 2019
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-4d87bc54f7ec> in <module>
     18 
     19 # this is the package including the connection to YAeHMOP
---> 20 from rdkit.Chem import rdEHTTools
     21 from rdkit.Chem import AllChem
     22 

ImportError: cannot import name 'rdEHTTools' from 'rdkit.Chem' (/Users/sternc1/anaconda3/envs/rd-test/lib/python3.7/site-packages/rdkit/Chem/__init__.py)

Do I need to install it separately or enable it in some way?

@greglandrum
Copy link
Member

I can't reproduce this:

(py37_rdkit) glandrum@otter:~$ conda list | grep rdkit
# packages in environment at /other_linux/home/glandrum/anaconda3/envs/py37_rdkit:
rdkit                     2019.03.4.0      py37hc20afe1_1    rdkit
(py37_rdkit) glandrum@otter:~$ python -c 'from rdkit.Chem import rdEHTTools'

Did you install the rdkit from the rdkit channel or from conda-forge? The conda list command above shows the answer to that.

@ChayaSt
Copy link
Author

ChayaSt commented Oct 11, 2019

I installed it from conda forge. When installed from the rdkit channel it works.

Thank you.

@ChayaSt ChayaSt closed this as completed Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants