Skip to content

Commit

Permalink
Try enabling nbextensions_configurator explicitly
Browse files Browse the repository at this point in the history
May allow us to switch to jupyter server here too. I had
to remove the nbclassic-serverextension install line from
here: Jupyter-contrib/jupyter_nbextensions_configurator#153
  • Loading branch information
yuvipanda committed Dec 27, 2023
1 parent a84815b commit 6756427
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 6756427

Please sign in to comment.