You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to remove a kernel from a script, I need to specify the -y or --JupyterApp.answer_yes=True option so that the script does not require user intervention, however, this seems to be ignored.
$ jupyter kernelspec --version
6.2.0
$ jupyter kernelspec remove --help
...
-f
Force removal, don't prompt for confirmation. Equivalent to: [--RemoveKernelSpec.force=True]...-y Answer yes to any questions instead of prompting. Equivalent to: [--JupyterApp.answer_yes=True]...$ jupyter kernelspec remove -y mykernelKernel specs to remove: mykernel /home/user/.local/share/jupyter/kernels/mykernelRemove 1 kernel specs [y/N]:
The workaround is easy: use the -f option, but the documentation is quite misleading since a question is asked, but -y does not answer yes.
When trying to remove a kernel from a script, I need to specify the
-y
or--JupyterApp.answer_yes=True
option so that the script does not require user intervention, however, this seems to be ignored.The workaround is easy: use the
-f
option, but the documentation is quite misleading since a question is asked, but-y
does not answer yes.The text was updated successfully, but these errors were encountered: