首页 文章

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

提问于
浏览
25

我希望找到更多关于以下内容的文档:

从一台计算机:C:\ Python> ipython notebook将浏览器打开为'IPython Notebook' . 从第二台计算机:C:\ Python> ipython notebook打开浏览器作为'Jupyter' .

我没有偏好,但 when saving from the 'Jupyter' browser, I can no longer open a .ipnb file in the 'IPython Notebook' browser . 我遇到了 "bad request" 错误 .

最初我假设'ipython notebook'已更新为使用'Jupyter'作为其浏览器,因此我在两台计算机上更新( pip install "ipython[notebook]" )无效 . 显然我错过了一些东西 .


Did ipython notebook switch to using Jupyter? If so, am I incorrectly updating IPython?

2 回答

  • 24

    ipython Notebook现在被称为Jupyter,所以可能在另一台计算机上安装了不同版本的Anaconda?

    所以Jupyter是ipython Notebook将继续发展的 - 他们放弃了python,因为它现在基本上是“不可知的”:它可以加载不同的语言 - python 2或3,还有R,Julia等 .

    关于Jupyter的有用视频intro

    你可以试试:

    pip install --upgrade "ipython[all]"

  • 26

    ipython 仍然是一个活跃的项目 - 一个交互式的python程序 . jupyter 是一个与语言无关的应用程序,分支 out of ipython (具体来说, ipython notebook ) .

    jupyter notebookipython 版本的推广----它现在是一个网络应用程序,可以用作各种不同语言的笔记本(不仅仅是 python ) . jupyter notebook 仍然使用 ipython 作为运行python代码的'kernel' .

    As for the practical aspects of your question: for the future, you should use jupyter to launch notebooks instead of ipython. 它现在出现在所有标准包管理器中 .

    来自ipython主页:

    Jupyter and the future of IPython

    IPython是一个不断发展的项目,与语言无关的组件越来越多 . IPython 3.x是IPython的最后一个单片版本,包含笔记本服务器,qtconsole等 . 从IPython 4.0开始,该项目与语言无关的部分:笔记本格式,消息协议,qtconsole,笔记本Web应用程序等 . 已经转移到Jupyter名下的新项目 . IPython本身专注于交互式Python,其中一部分是为Jupyter提供Python内核 .

相关问题