Ipython、jupyter 和内核之间的关系是什么?
what's the relation between Ipython, jupyter and kernels?
就像每次我寻找关于 python 或 R 的答案一样,我遇到了 Ipython、Ipython 内核、Ipython 笔记本、jupyter 和 jupyter 内核的这些内涵,我实际上了解每个人的用途,但我真的对它们之间的关系感到困惑。
项目开始时,只支持在他们的笔记本中执行Python代码,项目名为IPython(而笔记本IPython 笔记本)。
每个笔记本都使用一个内核实例工作,这是一个执行环境,允许运行使用特定语言编写代码并提供对笔记本内某些库的访问。
随着项目的发展并支持 Python 以外的语言的内核,项目将名称更改为 Jupyter(因此笔记本变成了 Jupyter 笔记本)。
开发者在IPython网站上解释如下:
IPython is a growing project, with increasingly language-agnostic components. IPython 3.x was the last monolithic release of IPython, containing the notebook server, qtconsole, etc. As of IPython 4.0, the language-agnostic parts of the project: the notebook format, message protocol, qtconsole, notebook web application, etc. have moved to new projects under the name Jupyter. IPython itself is focused on interactive Python, part of which is providing a Python kernel for Jupyter.
所以 IPython 仍然存在,但它专注于 Jupyter 笔记本的 Python 内核,这也是 Jupyter 的要求,安装时默认包含它。
以下是 Jupyter 支持的内核列表:
https://github.com/jupyter/jupyter/wiki/Jupyter-kernels
参考资料
就像每次我寻找关于 python 或 R 的答案一样,我遇到了 Ipython、Ipython 内核、Ipython 笔记本、jupyter 和 jupyter 内核的这些内涵,我实际上了解每个人的用途,但我真的对它们之间的关系感到困惑。
项目开始时,只支持在他们的笔记本中执行Python代码,项目名为IPython(而笔记本IPython 笔记本)。
每个笔记本都使用一个内核实例工作,这是一个执行环境,允许运行使用特定语言编写代码并提供对笔记本内某些库的访问。
随着项目的发展并支持 Python 以外的语言的内核,项目将名称更改为 Jupyter(因此笔记本变成了 Jupyter 笔记本)。
开发者在IPython网站上解释如下:
IPython is a growing project, with increasingly language-agnostic components. IPython 3.x was the last monolithic release of IPython, containing the notebook server, qtconsole, etc. As of IPython 4.0, the language-agnostic parts of the project: the notebook format, message protocol, qtconsole, notebook web application, etc. have moved to new projects under the name Jupyter. IPython itself is focused on interactive Python, part of which is providing a Python kernel for Jupyter.
所以 IPython 仍然存在,但它专注于 Jupyter 笔记本的 Python 内核,这也是 Jupyter 的要求,安装时默认包含它。
以下是 Jupyter 支持的内核列表:
https://github.com/jupyter/jupyter/wiki/Jupyter-kernels
参考资料