positional arguments: subcommand the subcommand to launch
optional arguments: -h, --help show this help message and exit --version show the jupyter command's version 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
Available subcommands: bundlerextension console kernel kernelspec migrate nbconvert nbextension notebook qtconsole run serverextension troubleshoot trust
从中大概可以看到,在jupyter的子命令中,与kernel有关的只有:kernel和kernelspec。而kernel是用于Run a kernel locally in a subprocess的子命令。
Subcommands are launched as `jupyter kernelspec cmd [args]`. For information on using subcommand 'cmd', do: `jupyter kernelspec cmd -h`.
list List installed kernel specifications. install Install a kernel specification directory. uninstall Alias for remove remove Remove one or more Jupyter kernelspecs by name. install-self [DEPRECATED] Install the IPython kernel spec directory for this Python.
To see all available configurables, use `--help-all`
首先查看jupyter中kernel的设置的位置:
1 2 3
C:\Users\ciaran>jupyter kernelspec list Available kernels: python3 d:\python37\share\jupyter\kernels\python3