Skip to content

Commit

Permalink
Merge pull request #58 from 2i2c-org/install-nbextensions
Browse files Browse the repository at this point in the history
Try enabling nbextensions_configurator explicitly
  • Loading branch information
yuvipanda authored Dec 27, 2023
2 parents 6d72913 + 6756427 commit 14320ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && mamba clean -afy
# So we download alongside our packages.
# Note that textblob.download_corpora just calls nltk to download corpora
ENV NLTK_DATA ${CONDA_DIR}/nltk_data
RUN mkdir -p ${NLTK_DATA} && python -m textblob.download_corpora
RUN mkdir -p ${NLTK_DATA} && python -m textblob.download_corpora

RUN jupyter nbclassic-extension install --sys-prefix --py jupyter_nbextensions_configurator --overwrite && \
jupyter nbclassic-extension enable --sys-prefix --py jupyter_nbextensions_configurator && \
jupyter nbclassic-serverextension enable --sys-prefix --py jupyter_nbextensions_configurator

0 comments on commit 14320ba

Please sign in to comment.