就像每次我寻找关于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支持的内核列表:
参考
标签:python,ipython,ipython-notebook,jupyter,jupyter-notebook
来源: https://codeday.me/bug/20190607/1195638.html