简体   繁体   English

打开'ipython notebook'为:IPython notebook vs Jupyter

[英]Open 'ipython notebook' as: IPython notebook vs Jupyter

I expected to find more documentation on the following: 我希望找到更多关于以下内容的文档:

From one computer: C:\\Python>ipython notebook opens the browser as 'IPython Notebook' . 从一台计算机: C:\\Python>ipython notebook打开浏览器作为'IPython Notebook'

From second computer: C:\\Python>ipython notebook opens the browser as 'Jupyter' . 从第二台计算机: C:\\Python>ipython notebook打开浏览器作为'Jupyter'

I dont have a preference, but when saving from the 'Jupyter' browser, I can no longer open a .ipnb file in the 'IPython Notebook' browser . 我没有偏好,但是当从'Jupyter'浏览器保存时,我无法再在'IPython Notebook'浏览器中打开.ipnb文件 I encounter a "bad request" error. 我遇到了“错误请求”错误。

Initially I assumed that 'ipython notebook' had been updated to use 'Jupyter' as its browser so I updated ( pip install "ipython[notebook]" ) on both computers with no effect. 最初我假设'ipython notebook'已更新为使用'Jupyter'作为浏览器,因此我在两台计算机上更新(点击pip install "ipython[notebook]" ),但没有任何效果。 Clearly I am missing something. 显然我错过了一些东西。


Did ipython notebook switch to using Jupyter ? ipython notebook是否切换到使用Jupyter If so, am I incorrectly updating IPython? 如果是这样,我是否错误地更新了IPython?

ipython Notebook is now called Jupyter so perhaps a different version of Anaconda is installed on the other computer? ipython Notebook现在被称为Jupyter,所以可能在另一台计算机上安装了不同版本的Anaconda?

So Jupyter is what ipython Notebook will continue to develop as - they dropped python as it is basically "agnostic" now: it can load different languages - python 2 or 3, but also R , Julia and more. 所以Jupyter是ipython Notebook将继续发展的 - 他们放弃了python,因为它现在基本上是“不可知的”:它可以加载不同的语言 - python 2或3,还有R,Julia等。

helpful video on Jupyter intro 关于Jupyter 介绍的有用视频

you can try: 你可以试试:

pip install --upgrade "ipython[all]"

ipython is still an active project all its own --- an interactive python program. ipython仍然是一个活跃的项目 - 一个交互式的python程序。 jupyter is a language-agnostic app that branched out of ipython (specifically, ipython notebook ). jupyter是一个 ipython (特别是ipython notebook )分支的语言无关的应用程序。

The jupyter notebook is a generalization of the ipython version ---- it is now a web-app that can be used as a notebook for a huge variety of different languages (not just python ). jupyter notebookipython版本的推广----它现在是一个web应用程序,可以用作各种不同语言(不仅仅是python )的笔记本。 The jupyter notebook still uses ipython as the 'kernel' for running python code. jupyter notebook仍然使用ipython作为运行python代码的“内核”。

As for the practical aspects of your question: for the future, you should use jupyter to launch notebooks instead of ipython . 至于你问题的实际方面:对于未来,你应该使用jupyter来启动笔记本而不是ipython It is now present in all of the standard package managers. 它现在存在于所有标准包管理器中。

From the ipython homepage: 来自ipython主页:

Jupyter and the future of IPython Jupyter和IPython的未来

IPython is a growing project, with increasingly language-agnostic components. IPython是一个不断发展的项目,与语言无关的组件越来越多。 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 3.x是IPython的最后一个单片版本,包含笔记本服务器,qtconsole等。从IPython 4.0开始,该项目与语言无关的部分:笔记本格式,消息协议,qtconsole,笔记本Web应用程序等。已经转移到Jupyter名下的新项目。 IPython itself is focused on interactive Python, part of which is providing a Python kernel for Jupyter. IPython本身专注于交互式Python,其中一部分是为Jupyter提供Python内核。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM