• 技术文章 >常用工具 >Jupyter

    怎么删除jupyter其他内核?

    yangyang2020-02-05 15:35:06原创5697

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

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

    → jupyter kernelspec list
    Available kernels:
      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的内核

    → jupyter kernelspec remove scala210
    → jupyter kernelspec list
    Available kernels:
      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

    jupyter kernelspec list

    删除 jupyter 内核

    jupyter kernelspec remove kernelname

    相关文章教程推荐:jupyter教程

    专题推荐:jupyter
    上一篇:怎么用jupyter运行指定位置的文件 下一篇:怎么用anaconda打开jupyter?

    相关文章推荐

    • 怎么启动jupyter?• 怎么更改jupyter颜色?• 怎么在jupyter安装包?• 怎么用jupyter运行指定位置的文件

    全部评论我要评论

    © 2021 Python学习网 苏ICP备2021003149号-1

  • 取消发布评论
  • 

    Python学习网