jupyter-notebook - Jupyter 可配置的 nbextensions 列表为空
问题描述
我安装conda install -c conda-forge jupyter_nbextensions_configurator
并jupyter nbextensions_configurator enable --user
在我的 venv 中运行,但 nbextensions 菜单是空的。我已经重新启动了几次笔记本,没有运气。我怎样才能让菜单显示出来,以便我可以单击并选择 TOC 等?
系统详情:
Windows 10、Firefox
conda 4.8.2
Python 3.8.3
jupyter 1.0.0 pypi_0 pypi
jupyter_client 6.1.3 py_0 conda-
forge jupyter_console 6.1.0 py_1 conda-
forge jupyter_contrib_core 0.3.3 py_2 conda-
forge jupyter_core 4.6.3 py38h32f683
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
解决方案
我在这里找到了答案,在 Github 上的一个公开问题中
我在 Anaconda 提示符下运行了以下命令:
conda install -c conda-forge jupyter_contrib_nbextensions
jupyter nbextensions_configurator enable --user
(注意conda install -c conda-forge jupyter_nbextensions_configurator
已经在提示符中运行过)
推荐阅读
- java - RXJava2 中的 PreExecution 相当于什么?
- angular - 在 Angular 6 应用程序中实现了 Auth 保护。实施不起作用。
- python - Python曲线拟合,高斯
- python - 为什么 Python `audioread.NoBackendError`
- if-statement - Google 表格 - 单元格包含文本
- c++ - NKE 套接字过滤器 (MacOS):无法正确重新注入输出数据包
- c++ - Visual Studio 2017 - 无法推断模板参数(使用可变参数模板)
- redux-form - redux-form 字段的有序列表
- node.js - 在node.js中登录后获取用户信息
- php - PHP exec 在执行 Python 脚本时返回空字符串