jupyter安装侧边目录插件

在Anaconda的命令行环境中,使用pip安装jupyter_contrib_nbextensions,然后通过jupytercontribnbextensioninstall--user命令激活。安装后重启Jupyter,可以启用TableofContents功能。如果遇到命令未找到的错误,可以通过查看安装路径并手动运行应用.py文件进行激活。
摘要由CSDN通过智能技术生成

插件安装及激活

在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

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值