如何删除/刷新 IPython/Jupyter notebook v4.0 的可用内核? [英] How do I delete/refresh available kernels for IPython/Jupyter notebook v4.0?

查看:45
本文介绍了如何删除/刷新 IPython/Jupyter notebook v4.0 的可用内核?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近停止使用 macports,因此我用于各种 IPython 内核的 kernel.json 文件已过时.我已重命名 ~/.ipython 并删除了 ~/.jupyter 但启动的内核无法以 file not found 错误启动.

I've recently stopped using macports so the kernel.json files I had for various IPython kernels are out of date. I have renamed ~/.ipython and removed ~/.jupyter but kernels launched are failing to start with file not found errors.

更有说服力的是,当我运行 jupyter-kernelspec list 时,它仍然列出了我设置的所有旧内核.它从哪里获取这些信息,我需要做什么来刷新/删除其缓存?

More tellingly, when I run jupyter-kernelspec list it still lists all the old kernels I had set up. Where is it getting this information from and what do I need to do to refresh/remove its cache?

推荐答案

截至今天:

jupyter kernelspec list

为您提供一个列表(名称和路径).然后选择名称并卸载它:

gives you a list (names and paths). Then pick the name and uninstall it:

jupyter kernelspec uninstall myKernalName

这篇关于如何删除/刷新 IPython/Jupyter notebook v4.0 的可用内核?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆