python - ipython和jupyter控制台有什么关系和区别
问题描述
在 ipython notebook 项目改名为 jupyter 后,我一直认为和shellipython notebook
一样,只是. 今天我意识到没有定义魔法,因此无法从不同的后端连接。jupyter notebook
ipython
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
我有以下问题:
ipython
这个版本的和这个版本的有什么关系jupyter console
?ipython notebook
(不推荐使用)另一个是否与库ipython 6.1.0
共享一些组件?jupyter
还是ipython notebook
仍然自给自足?ipython
有jupyter
任何依赖关系吗?
解决方案
架构指南 — Jupyter 文档包含有关 IPython 和 Jupyter 如何连接和关联的权威信息。
具体来说,根据从 IPython Notebook 迁移 — Jupyter 文档:
Big Split将 IPython 的各种与语言无关的组件移到了 Jupyter 的保护伞下。展望未来,Jupyter 将包含服务于多种语言的与语言无关的项目。IPython 将继续专注于 Python 及其与 Jupyter 的使用。
Jupyter 的架构包括前端(Web 或控制台)和后端(各种语言的内核)。IPython 控制台仅与 Python 和终端有关。“IPython Notebook”,如果它仍然是一个东西(如果我从 IPython 5.5.0 开始,它不能开箱即用pip install ipython
),可能是为了向后兼容而移动组件的雏形。
IPython 是 Jupyter 的依赖项:
> pip show jupyter
<...>
Requires: ipywidgets, qtconsole, nbconvert, notebook, jupyter-console, ipykernel
> pip show ipython
<...>
Required-by: jupyter-console, ipywidgets, ipykernel
推荐阅读
- javascript - 从nodejs服务器将数据发送到另一个html中的对象
- javascript - 如何在一次调用中分配多个 html 元素值?
- angular6 - Summernote Angular 6 CLI 注释或注释
- python - 在当前活动目录上运行存储在服务器上的 python 脚本
- vim - Vim 语法高亮之后
- matlab - 加速动画
- java - 使用 JNA 执行 WMI 时执行 IWbemServices.ExecQuery 时出现问题
- ubuntu - 无法在 GoogleCloud VM 中打开端口
- java - 创建新的maven项目时出错
- sql - 如何获取从星期六开始到星期五结束的星期 sql 查询