> ## Documentation Index
> Fetch the complete documentation index at: https://docs.autodl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JupyterLab

> [!NOTE]
>
> JupyterLab的工作目录为`/root`目录，而非`/`系统根目录。如需查看根目录`/`，可以进入终端使用命令行操作。

## 基本功能介绍

进入jupyterlab，「控制台」->「容器实例」->「Jupyterlab」

![image\_20250307155430](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307155430.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=a5dde4b732109fe2e5333e495378ad2d)

JupyterLab界面说明

![image\_20250307162801](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307162801.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=83862d05030d8d10ba53bc56cdf5f1eb)

上传文件

![image\_20250307161341](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307161341.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=b4f3f81b9e6228a6b27918787e950ffe)

使用Notebook

![image\_20250307161509](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307161509.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=89b04f6a3138c41befaf6a6d732f60ea)

打开新终端

![image\_20250307161553](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307161553.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=060d656b5fcd4da61afe4423bb969c05)

![image\_20250307161635](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307161635.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=135ef7d42012c41607d7601863b45090)

访问打开的终端或Notebook（JupyterLab在关闭终端/Notebook选项卡后默认不会终止，仍然在运行）

![image\_20250307161714](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307161714.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=786c11d662127cdc90bfa9455c5c8330)

文件管理

![image-20210820115753524](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image-20210820115753524.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=4b8ac39ea52306ea78dd2e8d5b22308b)

## 附：使用常见问题

如果用Notebook跑程序的同学会发现，隔了一段时间Notebook的日志不更新了。此时可以使用「日志控制台」的功能查看日志，演示一遍过程：

如下一段程序执行起来后，刷新网页此时会发现日志不再更新

![image\_20250307161831](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image_20250307161831.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=d27094971b2eb03bf5c9e6d291608228)

打开日志控制台：

![image-20221028152841811](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image-20221028152841811.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=7edf71c7eeabc962270ff88355b7bb95)

![image-20221028152930038](https://mintcdn.com/yogacom/lAIMbwrdObuK84dw/images/instance/connection/jupyterlab/image-20221028152930038.png?fit=max\&auto=format\&n=lAIMbwrdObuK84dw\&q=85\&s=99e6267b4006d4492f311d0b8caa605e)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.