Skip to content

Commit

Permalink
using conda breaks things: GLIBCXX_3.4.29' not found when trying to i…
Browse files Browse the repository at this point in the history
…mport spacy
  • Loading branch information
b08x committed Mar 31, 2024
1 parent 1c911cd commit b75f974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ENV LC_ALL=C.UTF-8
ENV PATH $HOME/.local/share/gem/ruby/3.1.0/bin:$HOME/.local/bin:$PATH
ENV BUNDLE_PATH $HOME/.local/share/gem

RUN conda install -c conda-forge spacy && \
RUN pip install spacy && \
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 b75f974

Please sign in to comment.