最近用的好好的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