jupyter插件nbextensions后不显示的解决办法

2022-11-13  本文已影响0人  七哥就是我
最近用的好好的jupyter插件,换了主题后就不显示了,找了很多原因没有解决我的办法,有说nbextensions没有启动的原因https://blog.csdn.net/mark__tuwen/article/details/106207530,但我试了报出错误:
> jupyter nbextension enable
Please specify an nbextension/package to enable or disable
这时候,再研究一下jupyter:
> jupyter 
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir] [--paths] [--json] [--debug] [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

optional arguments:
  -h, --help     show this help message and exit
  --version      show the versions of core jupyter packages and exit
  --config-dir   show Jupyter config dir
  --data-dir     show Jupyter data dir
  --runtime-dir  show Jupyter runtime dir
  --paths        show all Jupyter paths. Add --json for machine-readable format.
  --json         output paths as machine-readable json
  --debug        output debug information about paths

Available subcommands: bundlerextension contrib execute kernel kernelspec migrate nbconvert nbextension nbextensions_configurator notebook run
serverextension theme troubleshoot trust

Please specify a subcommand or one of the optional arguments.
这时候你会发现子命令里面有nbextensions_configurator 命令,执行:jupyter nbextensions_configurator enable 可解决问题。
image.png
希望对你有用!那就点个赞呗,也可以和我交流共同学习,微信:abo1028
上一篇 下一篇

猜你喜欢

热点阅读