Skip to content

Commit

Permalink
workaround "Could not solve for environment specs"
Browse files Browse the repository at this point in the history
  • Loading branch information
b08x committed Apr 26, 2024
1 parent 1914b1e commit 23eb30d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nlp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ ENV BUNDLE_PATH $HOME/.local/share/gem
RUN mamba install --yes \
'jupyter-ai' 'huggingface_hub' 'ipython' 'ipywidgets' \
'nbconvert' 'pillow' 'pydantic' 'pyvis' 'spacy' \
'SQLAlchemy' 'txtai' 'langchain_anthropic' 'langchain_google_genai' && \
'SQLAlchemy' 'txtai' && \
mamba clean --all -f -y && fix-permissions "${CONDA_DIR}" && fix-permissions "/home/${NB_USER}" && \
pip install 'langchain_anthropic' 'langchain_google_genai' && \
python3 -m spacy download en_core_web_trf && \
python3 -m spacy download en_core_web_lg && \
python -c "import sys, importlib.util as util; 1 if util.find_spec('nltk') else sys.exit(); import nltk; nltk.download('punkt')"
Expand Down

0 comments on commit 23eb30d

Please sign in to comment.