ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.2k stars 805 forks source link

nbTranslate in the docker image spoils the work of the hub and spawner #1585

Closed yauhenitroska closed 2 years ago

yauhenitroska commented 2 years ago

After adding nbTranslate extension, JupyterHub Server cannot start custom notebooks. Maybe someone faced a similar problem. Hub:

jupyterhub:2.0.0

dockerspawner==12


user Dockerfile: FROM jupyter/base-notebook:latest

RUN pip install --no-cache jupyterhub==1.4.2 \ notebook \ jupyter_contrib_nbextensions==0.5.1 \ jupyter_nbextensions_configurator \ ipywidgets==7.6.5 \ jupyterlab==2.3.2 \ nbcelltests \ RISE \ jupyterlab-git==0.24 \ numpy \ pandas \ plotly \ ipywidgets \ jupyter-dash \ matplotlib \ nbgitpuller

RUN \ jupyter contrib nbextension install && \ jupyter nbextensions_configurator enable && \ jupyter nbextension enable --py widgetsnbextension && \ jupyter labextension install jupyterlab_celltests && \ jupyter serverextension enable --py nbcelltests && \ jupyter serverextension enable nbgitpuller --sys-prefix && \ jupyter nbextension install rise --py --sys-prefix && \ jupyter nbextension install https://rawgit.com/jfbercher/jupyter_nbTranslate/master/nbTranslate.zip --user && \ jupyter nbextension enable nbTranslate/main && \ jupyter lab build


If any additional outputs are needed, I will add, I do not want to overload the message.

yauhenitroska commented 2 years ago

The problem was solved by rebuilding the image