1. 安装 jupyter_contrib_nbextensions
pip install jupyter_contrib_nbextensions
2. 配置 nbextension
jupyter contrib nbextension install --user
3. 启动jupyter notebook
选择 Nbextensions
勾选 Table of Contents
常见问题:
远程访问 jupyter notebok, 服务启动失败
解决方法:
无需更改新的设置,更改原服务器端口号即可
官方文档请参考:
https://github.com/ipython-contrib/jupyter_contrib_nbextensions