Liu*_*Sha 9 python ipython jupyter
在ipython笔记本项目重命名为jupyter之后,我总是认为它ipython notebook是相同的,jupyter notebook而ipythonshell只是别名jupyter console.今天我意识到ipython没有connect_info魔法定义,因此无法从不同的后端连接.
我的conda中安装了以下组件:
ipython 6.1.0 py36_0 defaults
jupyter 1.0.0 py36_4 defaults
jupyter_client 5.2.3 py36_0 defaults
jupyter_console 5.2.0 py36he59e554_1 defaults
jupyter_contrib_core 0.3.3 py36_1 conda-forge
jupyter_contrib_nbextensions 0.5.0 py36_0 conda-forge
jupyter_core 4.4.0 py36h7c827e3_0 defaults
Run Code Online (Sandbox Code Playgroud)
我有以下问题:
ipython这个版本和jupyter console这个版本之间有什么关系?ipython notebook(ipython 6.1.0另有弃用)是否与jupyter库共享一些组件; 或者ipython notebook仍然是独立的?ipython和jupyter有任何相关性?体系结构指南— Jupyter文档提供有关如何连接和关联IPython和Jupyter的权威信息。
具体来说,根据从IPython Notebook进行迁移-Jupyter文档:
大分裂将IPython的各种与语言无关的组件移到了Jupyter的保护下。展望未来,Jupyter将包含为多种语言服务的与语言无关的项目。IPython将继续专注于Python及其在Jupyter中的使用。
Jupyter的体系结构包括前端(Web或控制台)和后端(各种语言的内核)。IPython控制台仅适用于Python和终端。如果“ IPython Notebook”还是一回事(如果pip install ipython从IPython 5.5.0开始,它不是开箱即用的),则可能是向后兼容的移动组件的雏形。
IPython是Jupyter的依赖项:
> pip show jupyter
<...>
Requires: ipywidgets, qtconsole, nbconvert, notebook, jupyter-console, ipykernel
> pip show ipython
<...>
Required-by: jupyter-console, ipywidgets, ipykernel
Run Code Online (Sandbox Code Playgroud)