You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求助:Jupyter Notebook安装Nbextensions目录插件遇兼容问题

解决Jupyter Notebook Nbextensions配置界面异常问题

步骤1:彻底清理环境残留

先卸载所有相关包,避免版本冲突:

pip3 uninstall -y jupyter notebook jupyter_contrib_nbextensions jupyter_nbextensions_configurator

步骤2:安装兼容版本组合

针对5.x版本的Jupyter Notebook,安装对应适配的Nbextensions包:

pip3 install notebook==5.7.16
pip3 install jupyter_contrib_nbextensions==0.5.1
pip3 install jupyter_nbextensions_configurator==0.4.1

步骤3:激活配置并重启

执行配置激活命令:

jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user

关闭所有Jupyter Notebook进程后重新启动:

jupyter notebook

步骤4:启用目录功能

进入Nbextensions配置页面,找到Table of Contents (2) 选项并勾选,刷新Notebook页面即可使用目录功能。


内容的提问来源于stack exchange,提问作者Smilada XD

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 10:49:50