问题描述:

当运行

ipython notebook

进入jupyter notebook写代码时,发现代码并没有被补全,而且终端报出错误,大致如下:

404 GET /tree?token=ca6e409530474f78885d9dd900c5871b5082196c5e31bc68 (::1) 304.00ms referer=None

检查发现已通过以下命令:

jupyter nbextensions_configurator enable --user

设置configurator为enable了,为什么还会出现不可用的情况?

原因是启动后并没有进行配置。之后便可在 url/nbextensions 的位置打开 configurator 进行设置了,例如启动 Jupyter Notebook 之后的网址为 http://localhost:8888/tree,那么 Jupyter Nbextensions Configurator 的设置地址则为 http://localhost:8888/nbextensions

勾选hintland并保存,重新运行jupyter notebook,就可以使用代码自动补全功能啦!解决Jupyter Notebook自动补全代码nbextensions的404问题

参考链接在此:https://zodiac911.github.io/blog/jupyter-nbextensions-configurator.html

相关文章:

  • 2021-12-30
  • 2022-01-21
  • 2021-10-02
  • 2022-01-13
  • 2021-10-31
  • 2021-05-12
猜你喜欢
  • 2021-09-12
  • 2021-10-06
  • 2021-12-24
  • 2021-10-20
  • 2021-06-02
  • 2021-04-26
  • 2021-11-11
相关资源
相似解决方案