获取“未找到 Jupyter 命令‘jupyter-nbextension’。”尝试安装扩展时出错

问题描述 投票:0回答:1

尝试运行此命令:

jupyter nbextension install --py webcatjupyterplugin
按照此处的说明进行操作:https://github.com/CSSPLICE/webcatjupyterplugin

完整错误消息:

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: console contrib dejavu events execute kernel kernelspec lab labextension labhub migrate
nbconvert nbextensions_configurator notebook qtconsole run server troubleshoot trust

Jupyter command `jupyter-nbextension` not found.

但是无论我如何尝试,nbextensions 都找不到。尝试降级 jupyter 并删除并重新安装。完全不知道问题是什么。任何帮助将不胜感激。

jupyter-notebook command-line
1个回答
0
投票

试试这个:

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
© www.soinside.com 2019 - 2024. All rights reserved.