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

deepchem in the environment.yml needs tensorflow to work #5

Open
dacb opened this issue Jul 1, 2021 · 0 comments
Open

deepchem in the environment.yml needs tensorflow to work #5

dacb opened this issue Jul 1, 2021 · 0 comments

Comments

@dacb
Copy link

dacb commented Jul 1, 2021

Why deepchem doesn't have a registered dependency on tensorflow is beyond me, but even though it installs without any errors, it cannot be imported, e.g.

(base) dacb@stealth:/mnt/c/Users/dacb/Desktop/ADME-modeling-for-Cargill$ conda activate adme
(adme) dacb@stealth:/mnt/c/Users/dacb/Desktop/ADME-modeling-for-Cargill$ python
Python 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import deepchem
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/dacb/miniconda3/envs/adme/lib/python3.7/site-packages/deepchem/__init__.py", line 10, in <module>
    import deepchem.hyper
  File "/home/dacb/miniconda3/envs/adme/lib/python3.7/site-packages/deepchem/hyper/__init__.py", line 2, in <module>
    from deepchem.hyper.base_classes import HyperparamOpt
  File "/home/dacb/miniconda3/envs/adme/lib/python3.7/site-packages/deepchem/hyper/base_classes.py", line 5, in <module>
    from deepchem.trans import Transformer
  File "/home/dacb/miniconda3/envs/adme/lib/python3.7/site-packages/deepchem/trans/__init__.py", line 6, in <module>
    from deepchem.trans.transformers import undo_transforms
  File "/home/dacb/miniconda3/envs/adme/lib/python3.7/site-packages/deepchem/trans/transformers.py", line 13, in <module>
    import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
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

1 participant