gpt4 book ai didi

installation - anaconda 中的 ipython 笔记本命令打开 jupyter 笔记本?

转载 作者:行者123 更新时间:2023-12-02 08:22:06 25 4
gpt4 key购买 nike

下面是命令和结果。

[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。

最佳答案

答案在IPython website上:

IPython is a growing project, with increasingly language-agnostic components. 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 itself is focused on interactive Python, part of which is providing a Python kernel for 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 notebook。

关于installation - anaconda 中的 ipython 笔记本命令打开 jupyter 笔记本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36154502/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com