Jupyter Notebook安装 nbextensions 插件

安装 nbextensions 插件

一、打开Anaconda Prompt窗口,执行第一个命令,用于安装nbextensions:

pip install jupyter_contrib_nbextensions

二、再执行第二个命令,用于安装 javascript and css files

jupyter contrib nbextension install --user

三、最后执行,用于安装configurator

pip install jupyter_nbextensions_configurator

四、如果出错的话,先执行卸载命令,再执行上面命令,再试一次:

pip uninstall jupyter_contrib_nbextensions
pip uninstall jupyter_nbextensions_configurator

若是pip连接超时,采用清华镜像安装

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyter_contrib_nbextensions
# 超时可以加--default-timeout=10000

然后重新启动Jupyter Notebook后,就会发现已经有Nbextensions标签了。
Jupyter Notebook安装 nbextensions 插件_第1张图片

常用插件

代码提示(Hinterland)
代码字号调整(code font size)
代码美化(code prettify)
并排显示(Split Cells NoteBook)
Collapsible headings 折叠标题
Notify 通知机制,跑一些耗时较久的任务,完成后通知
Codefolding 折叠代码
Zen mode 隐藏活动状态栏,方便注意代码
Execute time 显示运行的时间

你可能感兴趣的:(pip安装,python,数据库)