简体   繁体   English

Jupyter Configurable nbextensions 列表为空

[英]Jupyter Configurable nbextensions list is empty

I installed conda install -c conda-forge jupyter_nbextensions_configurator and ran jupyter nbextensions_configurator enable --user in my venv, but the nbextensions menu is empty.我安装了conda install -c conda-forge jupyter_nbextensions_configurator并在我的 venv 中运行了jupyter nbextensions_configurator enable --user ,但 nbextensions 菜单是空的。 I've restarted notebook a few times, no luck.我已经重启笔记本几次了,没有运气。 How can I get the menu to show up so that I can click and select TOC, etc.?如何让菜单显示出来,以便我可以单击和 select TOC 等?

System details:系统详情:

Windows 10, Firefox Windows 10, Firefox
conda 4.8.2畅达 4.8.2
Python 3.8.3 Python 3.8.3
jupyter 1.0.0 pypi_0 pypi木星 1.0.0 pypi_0 pypi
jupyter_client 6.1.3 py_0 conda-forge jupyter_client 6.1.3 py_0 conda-forge
jupyter_console 6.1.0 py_1 conda-forge jupyter_console 6.1.0 py_1 conda-forge
jupyter_contrib_core 0.3.3 py_2 conda-forge jupyter_contrib_core 0.3.3 py_2 conda-forge
jupyter_core 4.6.3 py38h32f6830_1 conda-forge jupyter_core 4.6.3 py38h32f6830_1 conda-forge
jupyter_nbextensions_configurator 0.4.1 py38_0 conda-forge jupyter_nbextensions_configurator 0.4.1 py38_0 conda-forge

(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

在此处输入图像描述 在此处输入图像描述

I found the answer here , in an open issue on Github我在这里找到了答案,在 Github 上的一个公开问题中

I ran the following in Anaconda prompt:我在 Anaconda 提示符中运行了以下命令:

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

(note that conda install -c conda-forge jupyter_nbextensions_configurator had already been run in the prompt) (注意conda install -c conda-forge jupyter_nbextensions_configurator已经在提示符下运行)

And then launched notebook and the extensions were available:然后启动笔记本,扩展可用: 在此处输入图像描述

If someone's still struggling - like me - use this, worked fine for me: https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1196#issuecomment-903668248如果有人仍在苦苦挣扎 - 像我一样 - 使用它,对我来说效果很好: https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1196#issuecomment-903668248


In anaconda navigator - go to environments (below HOME) - select base - open terminal在 anaconda 导航器 - go 到环境(低于 HOME) - select 基地 - 开放终端

then paste this code然后粘贴此代码

conda install -c conda-forge jupyter_contrib_nbextensions

then然后

jupyter contrib nbextension install --user

after that在那之后

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

then Refresh applications --> check nbextensions然后刷新应用程序->检查 nbextensions

Try this:尝试这个:

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

After this you need to install conda-forge/label/cf202003 as follows:在此之后,您需要安装 conda-forge/label/cf202003,如下所示:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Jupyter nbextensions 目录 - Jupyter nbextensions directory Jupyter nbextensions 没有出现 - Jupyter nbextensions does not appear jupyter nbextensions 安装后不可用 - jupyter nbextensions not available after installation 修复 Jupyter 中的位置 /nbextensions 资源 - fix the location /nbextensions ressources in Jupyter Jupyter Nbextensions在我的某些笔记本中可用,但在其他笔记本中不起作用 - Jupyter Nbextensions work in some of my notebooks but not others 无法在 jupyter 'jupyter_contrib_nbextensions' 中使用扩展 - Can't use extension in jupyter 'jupyter_contrib_nbextensions' 在 jupyter notebook 的 Nbextensions 选项卡中看不到大多数扩展 - Cannot see most extensions in Nbextensions tab in jupyter notebook jupyter安全目录为空,但jupyter笔记本列表显示正在运行的服务器 - jupyter security directory empty, but jupyter notebook list shows a running server 在 AWS-GLUE 本地设置(docker image)上为 Jupyter 安装 nbextensions - 获取权限问题 - Installing nbextensions for Jupyter on AWS-GLUE local setup ( docker image ) - getting permission issue "如何摆脱 Python Jupyter notebook 错误:404 GET \/nbextensions\/nbextensions_configurator\/tree_tab\/main.js" - How do I get rid of Python Jupyter notebook error: 404 GET /nbextensions/nbextensions_configurator/tree_tab/main.js
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM