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

Docker build Error; lacking deepchem & rdkit #18

Open
gorbondiga opened this issue Nov 14, 2023 · 0 comments
Open

Docker build Error; lacking deepchem & rdkit #18

gorbondiga opened this issue Nov 14, 2023 · 0 comments

Comments

@gorbondiga
Copy link
Contributor

gorbondiga commented Nov 14, 2023

Hello,

I'm opening this ticket as I was trying to deploy deepchem-gui on Docker when I found a critical issue.
In the Dockerfile, the deepchem and rdkit packages are never installed. Thus, after building the Docker image, it fails at runtime.

Traceback (most recent call last): File "/miniconda/bin/deepchem-gui", line 33, in <module> sys.exit(load_entry_point('deepchem-gui==0.1a0', 'console_scripts', 'deepchem-gui')()) File "/miniconda/lib/python3.9/site-packages/deepchem_gui-0.1a0-py3.9.egg/gui/cli/main.py", line 28, in main args_func(args, p) File "/miniconda/lib/python3.9/site-packages/deepchem_gui-0.1a0-py3.9.egg/gui/cli/main.py", line 33, in args_func args.func(args, p) File "/miniconda/lib/python3.9/site-packages/deepchem_gui-0.1a0-py3.9.egg/gui/cli/parser_server.py", line 7, in func from ..app import DEEPCHEM_GUI File "/miniconda/lib/python3.9/site-packages/deepchem_gui-0.1a0-py3.9.egg/gui/app.py", line 4, in <module> import deepchem as dc ModuleNotFoundError: No module named 'deepchem'

The issue gets resolved by adding these two lines to the Dockerfile:

RUN pip install rdkit
RUN conda install -c conda-forge deepchem

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