Jupyter 简明教程

JupyterLab - Installation and Getting Started

在安装之前你可以在线试用 JupyterLab 的功能。访问 https://jupyter.org/try 并选择“试用 JupyterLab”选项。

You can try online the features of JupyterLab before installing. Visit https://jupyter.org/try and choose ‘try JupyterLab’ option.

jupyter lab

启动器标签显示当前可用的内核和控制台。你可以基于它们任何一个启动一个新的笔记本/终端。左列也有用于文件浏览器、运行内核、标签页和设置视图的标签页。

The launcher tab shows currently available kernels and consoles. You can start a new notebook based/terminal based on any of them. The left column is also having tabs for file browser, running kernels and tabs and settings view.

JupyterLab 通常通过 Anaconda 分发自动安装。但是,它也可以通过以下 conda 命令单独安装 −

JupyterLab is normally installed automatically with Anaconda distribution. However, it can also be installed separately by using following conda command −

conda install -c conda-forge jupyterlab

您还可以为此使用 pip 命令 −

You can also use the pip command for this purpose −

pip3 install jupyterlab

要启动 JupyterLab 应用程序,最方便的方法是通过安装的 Anaconda 导航器。

To start JupyterLab application, most convenient way is from Anaconda Navigator if it is installed.

anaconda navigator

或者从 Windows/Linux 命令终端或 Anaconda 提示符使用此命令从命令行启动它 −

Alternately start it from command line from Windows/Linux command terminal or Anaconda prompt using this command −

jupyter lab

无论哪种方式,JupyterLab 应用程序的启动画面如下所示 −

Either way, the JupyterLab application’s launch screen looks like this −

launch screen