热线电话:13121318867

登录
2020-07-03 阅读量: 1819
py中如何安装目录插件

在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


24.1638
1
关注作者
收藏
评论(0)

发表评论

暂无数据