Nbextensions作为Jupyter Notebook的实用扩展选项,可以为我们提供导航、高亮、折叠和数据查看等功能,极大提高工作效率,本人收集整理了Nbextensions的安装方法和不显示Nbextensions内容的修复方法
1.安装
退出jupyter notebook,在conda中输入如下代码即可
conda install -c conda-forge jupyter_contrib_nbextensions
安装完毕后进入jupyter notebook,在此处点击Nbextensions,若显示内容,则为正常
2.修复
若安装完毕后,点击Nbextensions没有内容,则需要对其进行修复,conda中输入
conda install -c conda-forge jupyter_contrib_nbextensions
然后输入:
jupyter nbextension enable
参考:
https://blog.csdn.net/mark__tuwen/article/details/106207530
3.启用
若安装完成后,功能齐全,但仍然出现灰色
解决方法有二,推荐1
1.把左上角的√去掉
2.jupyter notebook版本过高,在cmd中输入代码降级(但可能导致内核连接不上)
pip install -U "notebook==5.0" -i https://pypi.tuna.tsinghua.edu.cn/simple
参考
https://blog.csdn.net/mark__tuwen/article/details/106207530
文章出处登录后可见!
已经登录?立即刷新