CDA持证人阿涛哥

2021-12-24   阅读量: 585

Python

python给Anaconda的jupyter notebook安装目录插件

扫码加入数据分析学习群

安装Jupyter Notebook目录插件命令语句.txt

安装Jupyter Notebook目录插件最后勾选截图.png

在Anaconda prompt 执行如下语句

第一步:更新pip:

python -m pip install --upgrade pip


第二步:更新Jupyter :

pip install --upgrade jupyter


第三步:安装 jupyter_contrib_nbextensions:

pip install jupyter_contrib_nbextensions


第四步:配置 nbextension:

jupyter contrib nbextension install --user

第五步:(参考截图)

启动jupyter notebook

选择 Nbextensions

勾选 Table of Contents 目录

勾选 Hinterland 代码提示功能



第六步:选做步骤, 安装Collapsible headings插件

勾选Collapsible headings----将标题内部的内容全部折叠起来

勾选Code folding---代码折叠插件,允许你将缩进内容折叠起来,节省屏幕空间


具体还可以参考链接:https://blog.csdn.net/August1226/article/details/80762632


##特别提示:出现连接中断之类的报错,在命令语句后面做-i+国内源地址尝试


例如:pip install --upgrade jupyter

做加-i+国内源地址操作后是这样: pip install --upgrade jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple


常用国内源地址

#清华大学源

https://pypi.tuna.tsinghua.edu.cn/simple

#阿里巴巴源

http://mirrors.aliyun.com/pypi/simple/

#中国科学技术大学源

https://pypi.mirrors.ustc.edu.cn/simple/

#豆瓣源

https://pypi.doubanio.com/simple


安装Jupyter Notebook目录插件最后勾选截图.png

23.4251 4 0 关注作者 收藏

评论(0)


暂无数据

推荐课程

推荐帖子