ipython笔记本的TOC扩展会发生什么?
我试图在新计算机上安装伟大的目录扩展.但我再也找不到了.唯一的页面 I do find没有解释如何在Windows上安装扩展. 那么..我怎么能安装它,为什么它不是官方Ipython笔记本的一部分?我简直无法理解没有它的人是如何相处的. 解决方法我最近用Jupyter 4(即ipython notebook 4)成功安装了 toc nbextension.事实上安装扩展比以前更容易:) 我在这里发布我的解决方案,可能会有帮助. ## download mkdir toc cd toc wget https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/toc.js wget https://raw.githubusercontent.com/minrk/ipython_extensions/master/nbextensions/toc.css ## install and enable cd .. jupyter-nbextension install --user toc jupyter-nbextension enable toc/toc 更多解释: install会将toc复制到/ .local / share / jupyter / nbextensions / enable将修改/ .jupyter / nbconfig / notebook.json. 你可以检查这两个地方,看看发生了什么. 注意:我们在这里使用enable toc / toc是因为toc.js在/ .local / share / jupyter / nbextensions / toc /中. 编辑 对不起,我没有注意到Windows上的原始问题.我不确定它是否与windows jupyter相同,欢迎任何报告. 更新 现在toc nbextension已添加到this project中,它提供了各种nbextensions的集合.它非常易于安装和管理,值得一试! (编辑:甘南站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |