无法启动 Kernel。

跑vscode出现如下异常,试着重装依然无效。
jupyter notebook已经安装



无法启动 Kernel。 
Jupyter server crashed. Unable to connect. 
Error code from Jupyter: 1
usage: jupyter.py [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
                  [--paths] [--json] [--debug]
                  [subcommand]

Jupyter: Interactive Computing

positional arguments:
  subcommand     the subcommand to launch

options:
  -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:

Jupyter command `jupyter-notebook` not found. 
有关更多详细信息,请查看 Jupyter log。

python插件已经覆盖了jupyter插件的功能.
试下卸载vscode中jupyter,python插件,安装最新版的Python插件

  • 看下这篇博客,也许你就懂了,链接:kernel函数