当前位置:   article > 正文

在 jupyter 正确安装 Nbextensions_jupyter contrib nbextension install --user

jupyter contrib nbextension install --user

参考:打开jupyter notebook 报错 404GET/static/components/marked/lib/marked.js?_SL1029_的博客-CSDN博客

1、安装指定版本的jupyter notebook

pip install jupyter notebook==6.4.8 -i https://pypi.tuna.tsinghua.edu.cn/simple
  • 1

2、验证notebook版本安装正确

jupyter notebook --version

或

jupyter --version
  • 1
  • 2
  • 3
  • 4
  • 5

3、参考【nbextensions模块安装失败解决】ERROR: Failed building wheel for jupyter-nbextensions-configurator_雪碧养乐多乌龙茶的博客-CSDN博客,安装0.5.1版本的jupyter_contrib_nbextensions

pip install jupyter_contrib_nbextensions -i https://pypi.tuna.tsinghua.edu.cn/simple

或下载后安装

pip install D:\folder\下载\jupyter_contrib_nbextensions-0.5.1-py2.py3-none-any.whl
  • 1
  • 2
  • 3
  • 4
  • 5

4、激活jupyter_contrib_nbextensions

jupyter contrib nbextension install --user
  • 1

5、安装指定版本的jupyter_nbextensions_configurator

pip install jupyter_nbextensions_configurator==0.5.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
  • 1

6、激活jupyter_nbextensions_configurator

jupyter nbextensions_configurator enable --user
  • 1

7、打开jupyter notebook

jupyter notebook
  • 1

8、验证成功
验证成功

补充:一些常用的扩展

  • Hinterland,代码自动补全。
  • Spellchecker,拼写检查工具,突出显示拼写错误的单词。
  • Collapsible headings,可折叠的标题,使用标题左侧的切换按钮折叠或展开标题下方的内容。
  • Toggle all line numbers,打开或关闭代码单元中的行号。
  • ExcecuteTime,计算每一个模块的时间,和运行结束时间。
  • Variable Inspector,显示所有构建的变量信息。
  • Jupyter Notebook markdown 添加目录
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/731597
推荐阅读
相关标签
  

闽ICP备14008679号