怎么删除jupyter其他内核?

图片[1]-怎么删除jupyter其他内核?-uusu优素-乐高,模型,3d打印,编程

下面我们通过实例来看一下删除jupyter其他内核的方法:

1、查看Jupyter已经安装的内核版本:

→jupyterkernelspeclist
Availablekernels:
scala210/Users/yumm/.ipython/kernels/scala210
scala211/Users/yumm/.ipython/kernels/scala211
python2/Users/yumm/Library/Jupyter/kernels/python2
python3/Users/yumm/anaconda3/share/jupyter/kernels/python3
apache_toree_pyspark/usr/local/share/jupyter/kernels/apache_toree_pyspark
apache_toree_scala/usr/local/share/jupyter/kernels/apache_toree_scala
apache_toree_sparkr/usr/local/share/jupyter/kernels/apache_toree_sparkr
apache_toree_sql/usr/local/share/jupyter/kernels/apache_toree_sql

2、移除安装Scala210的内核

→jupyterkernelspecremovescala210
→jupyterkernelspeclist
Availablekernels:
scala211/Users/yumm/.ipython/kernels/scala211
python2/Users/yumm/Library/Jupyter/kernels/python2
python3/Users/yumm/anaconda3/share/jupyter/kernels/python3
apache_toree_pyspark/usr/local/share/jupyter/kernels/apache_toree_pyspark
apache_toree_scala/usr/local/share/jupyter/kernels/apache_toree_scala
apache_toree_sparkr/usr/local/share/jupyter/kernels/apache_toree_sparkr
apache_toree_sql/usr/local/share/jupyter/kernels/apache_toree_sql

使用的命令:

查看 Jupyter notebook kernel

jupyterkernelspeclist

删除 jupyter 内核

jupyterkernelspecremovekernelname
原文来自:https://www.py.cn
© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容