tencent cloud

Elastic MapReduce

JupyterLab Development Guide

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-08-21 16:51:11
JupyterLab is a highly extensible and interactive development environment under the Jupyter project, with rich features available, supporting notebook, code and data writing. The flexible interface allows you to configure and arrange workflows in data science, scientific computing, computational journalism and machine learning. The modularized design allows expansion to extend and enrich functions. This article briefly introduces how to use JupyterLab on EMR with an example. For detailed operation instructions, see JupyterLab Official Website Documentation.

Prerequisites

A machine learning cluster of EMR on TKE has been created and JupyterLab and Eg services are selected. For details, see Creating a Cluster.

Access the JupyterLab WebUI

1. You can enable public network access on the Edit Deployment page of the JUPYTERLAB service when purchasing a cluster, or after purchasing the cluster. Enter the cluster console Cluster Service, select JUPYTERLAB service, and click Enable Network Access in Role Management.
2. After enabling network access, click View WebUI in the upper right corner to open the JupyterLab WebUI (the security group needs to enable port 8888).

Usage Example

Log in to the JupyterLab Web page, select a notebook, console, text, or others in the workspace as needed. Take notebook as an example.



Select the kernel you want to use and start code writing.

Cell Toolbar

Each cell has a toolbar for quick access to common features. If you want to disable a cell toolbar, open the settings editor, select the cell toolbar in the left panel, and then deselect "Show Cell Toolbar".
Administrator can turn off the cell toolbar by running the following command:
jupyter labextension disable @jupyterlab/cell-toolbar-extension
Administrator can reopen the cell toolbar by running the following command:
jupyter labextension enable @jupyterlab/cell-toolbar-extension





도움말 및 지원

문제 해결에 도움이 되었나요?

피드백