1
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
2.
pip install --user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
3.安装成功会在http://localhost:8888/tree中出现Nbextensions
重启notebook
勾选如下,成功配置