插件安装及激活
在anaconda的cmd里
pip install jupyter_contrib_nbextensions && jupyter contrib nbextension install --user
安装后重启jupyter,进入Nbextensions
勾选Table of Contents
返回选择一个文件进入,窗口栏最后一个就是目录啦
报错问题及解决方法
>>jupyter contrib nbextension install --user
Jupyter command `jupyter-contrib` not found.
#查找安装包位置
>>pip show jupyter_contrib_nbextensions
Name: jupyter-contrib-nbextensions
Version: 0.7.0
Summary: A collection of Jupyter nbextensions.
Home-page: https://github.com/ipython-contrib/jupyter_contrib_nbextensions.git
Author: ipython-contrib and jupyter-contrib developers
Author-email: jupytercontrib@gmail.com
License: BSD
Location: c:\programdata\anaconda3\lib\site-packages
Requires: ipython-genutils, jupyter-contrib-core, jupyter-core, jupyter-highlight-selected-word, jupyter-nbextensions-configurator, lxml, nbconvert, notebook, tornado, traitlets
Required-by:
#进入文件夹激活
>>cd c:\programdata\anaconda3\lib\site-packages\jupyter_contrib_nbextensions
>>python application.py install