Jupyter Configurable nbextensions 列表为空

Jupyter Configurable nbextensions list is empty

我在我的 venv 中安装了 conda install -c conda-forge jupyter_nbextensions_configurator 和 运行 jupyter nbextensions_configurator enable --user,但是 nbextensions 菜单是空的。我已经重启笔记本几次了,没有运气。我怎样才能让菜单显示出来,这样我就可以点击 select TOC 等等?

系统详情:

Windows10、火狐
康达 4.8.2
Python 3.8.3
jupyter 1.0.0 pypi_0 pypi
jupyter_client 6.1.3 py_0 康达锻造
jupyter_console 6.1.0 py_1 康达锻造
jupyter_contrib_core 0.3.3 py_2 康达锻造
jupyter_core 4.6.3 py38h32f6830_1 康达锻造
jupyter_nbextensions_configurator 0.4.1 py38_0 康达锻造

(myenv) C:\path>jupyter nbextension list
Known nbextensions:
  config dir: C:\path\.jupyter\nbconfig
    notebook section
      nbextensions_configurator/config_menu/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      jupyter-js-widgets/extension disabled
      jupyter-vega/index disabled
    tree section
      nbextensions_configurator/tree_tab/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main
  config dir: C:\path\anaconda3\envs\myenv\etc\jupyter\nbconfig
    notebook section
      jupyter-js-widgets/extension enabled
      - Validating: ok
      jupyter-vega/index enabled
      - Validating: problems found:
        - require?  X jupyter-vega/index
      nbextensions_configurator/config_menu/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
    tree section
      nbextensions_configurator/tree_tab/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

我在 Github

上的一个未决问题中找到了答案 here

我在 Anaconda 提示符中 运行 以下内容:

conda install -c conda-forge jupyter_contrib_nbextensions
jupyter nbextensions_configurator enable --user

(注意提示中conda install -c conda-forge jupyter_nbextensions_configurator已经是运行)

然后启动笔记本,扩展可用:

试试这个:

conda install -c conda-forge jupyter_contrib_nbextensions
jupyter nbextensions_configurator enable --user

之后你需要安装 conda-forge/label/cf202003 如下:

conda install -c conda-forge/label/cf202003 jupyter_contrib_nbextensions

如果有人还在苦苦挣扎 - 就像我一样 - 使用这个,对我来说效果很好: https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1196#issuecomment-903668248


在 anaconda 导航器中 - 转到环境(在主页下方) - select 基础 - 打开终端

然后粘贴此代码

conda install -c conda-forge jupyter_contrib_nbextensions

然后

jupyter contrib nbextension install --user

之后

conda install -c conda-forge/label/cf202003 jupyter_contrib_nbextensions

然后刷新应用程序 --> 检查 nbextensions