在命令行窗口中执行一下其中一个命令。
pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple
conda install -c conda-forge jupyter_contrib_nbextensions
把扩展安装完成后,重新启动jupyter notebook
勾选 Table of Contents