打开 Anaconda Prompt,依次运行一下代码
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter contrib nbextension install --user
3)安装完后重启 jupyter notebook
4)出现【Nbextensions】功能键
勾选【Table of Contents(2)】即可
打开 Anaconda Prompt,依次运行一下代码
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter contrib nbextension install --user
3)安装完后重启 jupyter notebook
4)出现【Nbextensions】功能键
勾选【Table of Contents(2)】即可