jupyter安装nbextentions

使用pip安装

pip install jupyter_contrib_nbextensions

jupyter contrib nbextension install --user

pip install jupyter_nbextensions_configurator

jupyter nbextensions_configurator enable --user

如果失败,可以使用conda安装

conda install -c conda-forge jupyter_nbextensions_configurator
conda install -c conda-forge jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user

重启notebook后界面有一个新栏,示意如下:

最爱的是代码折叠codefolding,可以勾选启用,也可以用代码启用(enable)/禁用(disable)

jupyter nbextension enable codefolding/main

效果如下:

 

参考资料:

https://github.com/ipython-contrib/jupyter_contrib_nbextensionsicon-default.png?t=N176https://github.com/ipython-contrib/jupyter_contrib_nbextensions

你可能感兴趣的:(jupyter,python,深度学习)