有没有办法在Google-Colaboratory中使用nbextensions配置器?

时间:2018-06-07 13:45:45

标签: jupyter-notebook jupyter google-colaboratory

我使用

在我的第一个代码单元中安装了nbextensions及其配置器
Toast

最后打印:

!pip install jupyter_contrib_nbextensions
!pip install jupyter_nbextensions_configurator
!jupyter nbextensions_configurator enable --user

doc表示要从根目录转到Enabling: jupyter_nbextensions_configurator - Writing config: /content/.jupyter - Validating... jupyter_nbextensions_configurator OK Enabling notebook nbextension nbextensions_configurator/config_menu/main... Enabling tree nbextension nbextensions_configurator/tree_tab/main... 页面,但在Google-colaboratory上,这是不可能的,因为我们无法直接访问容器...

/nbextensions打印以下输出:

!find / -name nbextensions

如果我去查看/root/.ipython/nbextensions /usr/local/lib/python3.6/dist-packages/jupyter_core/tests/dotipython/nbextensions /usr/local/lib/python3.6/dist-packages/jupyter_contrib_nbextensions/nbextensions /usr/local/lib/python2.7/dist-packages/jupyter_core/tests/dotipython/nbextensions /usr/local/share/jupyter/nbextensions /content/.ipython/nbextensions 目录:

!ls -l /usr/local/share/jupyter/nbextensions

关于如何使用或连接配置器的任何想法?

0 个答案:

没有答案