Yif*_*ngt 5 python server jupyter jupyter-notebook
我注意到conda 在Ubuntu 18.04.1 LTS中的桌面上安装了两个命令jupyter和jupyter-notebook,它们都位于python 3.6.7下,我通过以下方式检查了它们的版本:
$ jupyter --version
# 4.4.0
$ jupyter-notebook --version
# 5.7.4
Run Code Online (Sandbox Code Playgroud)
通过命令的帮助信息,我得到:
$ jupyter-notebook --help
The Jupyter HTML Notebook.
This launches a Tornado based HTML Notebook Server that serves up an
HTML5/Javascript Notebook client.
$ jupyter --help
usage: jupyter [-h] [--version] [--config-dir] [--data-dir] [--runtime-dir]
[--paths] [--json]
[subcommand]
Jupyter: Interactive Computing
Run Code Online (Sandbox Code Playgroud)
谷歌了一段时间,找不到任何关于两者之间区别的讨论,尽管帮助信息告诉我一个是服务器,另一个是交互式计算,这对我来说还不够。去了Jupyter网站,但找不到任何关于版本和两者之间差异的描述。
如果有人能为我详细说明,我将不胜感激:
1)它们彼此有何不同;
2)并阐明版本号不同的原因;虽然它们似乎做着同样的工作,因为两者都从浏览器中
弹出笔记本界面。
多谢!
jupyter <subcommand> [options]
Run Code Online (Sandbox Code Playgroud)
jupyter
命令用于执行不同的 jupyter 相关任务,包括启动 jupyter 应用程序。jupyter 命令主要是子命令的命名空间。在此处检查其源代码,其中文档字符串指出:
根
jupyter
命令。除了分派到子命令或输出路径信息之外,它什么也不做。
jupyter-notebook
或者jupyter notebook
用于启动jupyter笔记本服务器并仅执行与笔记本相关的任务。
这里,版本号不同,因为
$ jupyter --version # gives you the version of `jupyter` command
# 4.4.0
$ jupyter-notebook --version # gives you the version of `jupyter notebook`
# 5.7.4
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
1523 次 |
最近记录: |