1

当我尝试安装像腹地这样的扩展时,它找不到扩展

FROM jupyter/datascience-notebook:latest
RUN conda install --yes jupyter_nbextensions_configurator
RUN conda install --yes jupyter_contrib_nbextensions
RUN jupyter contrib nbextension install --user
RUN jupyter labextension enable hinterland/hinterland   
EXPOSE 8888
ENV JUPYTER_ENABLE_LAB=yes

但是如果我安装它(例如 nbextension),它会找到并工作,就像在下面的代码中一样

FROM jupyter/datascience-notebook:latest
RUN conda install --yes jupyter_nbextensions_configurator
RUN conda install --yes jupyter_contrib_nbextensions
RUN jupyter contrib nbextension install --user
RUN jupyter nbextension enable hinterland/hinterland
EXPOSE 8888
4

0 回答 0