在anaconda的ipython笔记本命令打开jupyter笔记本?

时间:2016-03-22 12:33:44

标签: installation ipython

以下是命令和结果。

[Anaconda2] C:\Users\Gurminder>ipython notebook
[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook`... continue in 5 sec. Press Ctrl-C to quit now.
[I 17:56:25.760 NotebookApp] Serving notebooks from local directory: C:\Users\Gurminder
[I 17:56:25.763 NotebookApp] 0 active kernels
[I 17:56:25.763 NotebookApp] The IPython Notebook is running at: http://localhost:8888/
[I 17:56:25.766 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

浏览器上的显示如下:

enter image description here

为什么在我发出启动ipython的命令时会启动jupyter。

我已经更新了所有软件包,包括ipython。

1 个答案:

答案 0 :(得分:6)

答案在IPython website

  

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

总之,之前被称为IPython笔记本的是Jupyter笔记本。除了这个名字,它们几乎是一样的。

它甚至在你收到的警告信息中这样说:

[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook`... continue in 5 sec. Press Ctrl-C to quit now.

ipython notebook已被弃用,您应该使用jupyter notebook,但IPython会很好用并为您运行Jupyter笔记本。