Jupyter Kernel : Is there a way to rename them?

后端 未结 1 1658
余生分开走
余生分开走 2021-01-01 23:09

I mis-typed the name for the kernel while issuing: python -m ipykernel install --name and the wrong name is showing up the Jupyter\'s \"Change kernel\" menu. Is there a wa

相关标签:
1条回答
  • 2021-01-01 23:46

    You can use the kernelspec command to get information about the installed Kernels for your installation.

    The command jupyter kernelspec list will provide you a list of the installed Kernels, something like:

    Available kernels:
      python2          /Library/Python/2.7/site-packages/ipykernel/resources
      redisworkshop    /Users/tague/Library/Jupyter/kernels/RedisWorkshop
      bash             /Users/tague/Library/Jupyter/kernels/bash
    

    The display name for a kernel is found in the kernel.json file in the corresponding directory for the kernel.
    Edit the display_name property in the kernel.json file and it will change the display name next time you start Jupyter.

    0 讨论(0)
提交回复
热议问题