![](/img/trans.png)
[英]What is the difference between Jupyter Notebook and JupyterLab?
[英]What is the difference between jupyter and 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
借助命令的幫助信息,我得到了:
$ 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
谷歌搜索了一段時間,無法找到關於兩者之間區別的任何討論,盡管幫助信息告訴我一個是服務器 ,另一個是用於交互式計算 ,這對我來說還不夠。 去了Jupyter網站,但找不到關於版本和兩者之間差異的任何描述。
贊賞有人能為我闡述一下:
1)它們之間有什么不同?
2)並說明為什么版本號不同;
他們似乎都在做相同的工作,因為兩者都從瀏覽器中彈出了Notebook界面。
非常感謝!
jupyter <subcommand> [options]
jupyter
命令用於執行與jupyter相關的不同任務,包括啟動jupyter應用程序。 jupyter命令主要是子命令的命名空間。 在此處檢查其源代碼docstring指出:
root
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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.