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






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论