热线电话:13121318867

登录
2020-09-23 阅读量: 709
python中如何安装目录插件

在jupyter notebook里先要显示如上图所示的目录需要安装目录插件,具体安装方式如下(在anaconda prompt里运行如下代码):

第一步:更新pip

python -m pip install --upgrade pip



第二步:更新Jupyter

pip install --upgrade jupyter



第三步:安装 jupyter_contrib_nbextensions

pip install jupyter_contrib_nbextensions


如果速度很慢的话用镜像安装:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyter_contrib_nbextensions


第四步:配置 nbextension

jupyter contrib nbextension install --user



第五步:启动jupyter notebook

选择 Nbextensions

勾选 Table of Contents



35.1583
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子