查看jupyter notebook每个单元格运行时间实例
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable execute_time/Exec
pip install jupyter_nbextensions_configurator
jupyter nbextension enable varInspector/main
搜索框里搜索time,并选中Execute Time
安装NBextension
这款插件可以让我们在jupyter notebook界面中生成目录,看起来高大尚
windows系统下:
1.确定已经安装anaconda
2.要在anaconda prompt模式下运行 (jupyter notebook打开)
3.pip install jupyter_contrib_nbextensions (安装成功后,关掉jupyter notebook及相关网页,并重新打开,观察是否安装成功)
4.如果发现依旧失败,则可进行此步骤,注意(jupyter notebook关闭)
进行配置:jupyter contrib nbextension install --user --skip-running-check
5.安装成功后,重新启动jupyter notbook,'Nbextension’出现在导航栏中,勾选项目
————————————————
原文链接:https://blog.csdn.net/qq_42732229/article/details/107135072
pip uninstall jupyter_contrib_nbextensions
pip uninstall jupyter_nbextensions_configurator
打开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
打开Anaconda Prompt窗口,执行第一个命令,用于安装nbextensions:
pip install jupyter_contrib_nbextensions
再执行第二个命令,用于安装 javascript and css files
jupyter contrib nbextension install --user
最后执行,用于安装configurator
pip install jupyter_nbextensions_configurator
然后重新启动Jupyter Notebook后,就会发现已经有Nbextensions标签了。
常用扩展功能,勾选上即可:
最常用功能说明,建议勾选上:
Collapsible headings 折叠标题
Notify 通知机制,跑一些耗时较久的任务,完成后通知
Codefolding 折叠代码
Zen mode extension 隐藏活动状态栏,方便注意代码
Execute time extension 显示运行的时间
pip uninstall nbconvert
pip install notebook==6.1.5
REF
https://stackoverflow.com/questions/49647705/jupyter-nbextensions-does-not-appear
conda install -c conda-forge jupyter_contrib_nbextensions