Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install JupyterLab3.0

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains how to install JupyterLab3.0. Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let Xiaobian take you to learn "JupyterLab3.0 how to install"!

JupyterLab 3.0 has been improved in the following areas:

Visual debugger;

Support multiple display languages;

notebook directory;

Expansion system.

JupyterLab related references:

Databook-The Book of Data

Run Jupyter/JupyterHub/JupyterLab as a system service

System Management with Jupyter Notebook

Local installation and usage of JupyterLab (Ubuntu 18.04)

JupyterHub on Kubernetes Deployment and Application Guide

JupyterHub on Kubernetes--Customizing user environments

JupyterHub on Kubernetes Drawing Support Software

JupyterLab Install Map Plugin

Using SuperMap iObjects for python 10.0

JupyterHub container mirroring custom methods and steps

Customize Notebook Images for JupyterHub

3 installation methods

JupyterLab 3.0 can be installed in three ways. The first way is pip installation. The code is as follows:

pip install jupyterlab==3

The second option uses mamba (fast cross-platform package manager) to install, and the code is as follows:

mamba install -c conda-forge jupyterlab=3

The third method uses conda to install, and the code is as follows:

conda install -c conda-forge jupyterlab=3

Note that many third-party extensions are still being updated for JupyterLab 3.0 compatibility, so users need to check their own extensions and update them if necessary. The following details some of the major improvements to JupyterLab 3.0 in terms of user-facing usage.

JupyterLab 3.0 New Features Visual Debugger

JupyterLab 3.0 now has visual debugger functionality. In order to use the visual debugger, users first need a kernel that supports the debugger. The Xeus-Python kernel was the first Jupyter kernel to support debugging Python code. The display is as follows:

Enter Python programs using the Visual Debugger in JupyterLab 3.0.

For more detailed documentation, please refer to jupyterlab.readthedocs.io/en/stable/user/debugger.html

directory extension

JupyterLab 3.0 now provides directory extensions that make it easier for users to view and navigate document structures. The display is as follows:

Use directory functionality in JupyterLab 3.0.

Support multiple language display

JupyterLab 3.0 provides the ability to set the user interface display language. To use this feature, users need to install the language pack as a separate Python package. Language packs are grouped in GitHub projects and can be installed using pip. For example, the simplified Chinese language pack can be installed using the following code:

pip install jupyterlab-language-pack-zh-CN

JupyterLab 3.0 interface displayed in Simplified Chinese.

I have a problem installing (no installation package found):

Please check: github.com/jupyterlab/language-packs/issues/14

Download and install the new page here:

//download wget https://pypi.tuna.tsinghua.edu.cn/packages/c1/fb/f65ce427a3e4d2551f538da466dd7ecae222d5be9b1a278098f62e6c42c9/Jupyterlab_language_pack_en-0.0.1.dev0-py2.py3-none-any.whl/install pip install Jupyterlab_language_pack_en-0.0.1.dev0-py2.py3-none-any.whl

For adding new language packs please refer to jupyterlab.readthedocs.io/en/stable/user/language.html

The following error occurred when upgrading third-party packages using pip.

ERROR: Cannot uninstall 'terminado'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Solution:

pip install --upgrade pip install terminado --upgrade --ignore-installed terminado improvement of simple interface mode

JupyterLab 3.0 updates the simple UI mode (formerly the single document display mode) to make the UI mode smoother and more document-oriented. The user can switch simple UI mode using the switch in the status bar, switch from the View menu or Command Panel, or use the default shortcut key Ctrl/Cmd+Shift+D.

Enable and disable Simple Interactive Interface mode.

JupyterLab 3.0 also has a lot of improved mobile support. Users can expand windows to make the layout more compact. When the window shrinks, JupyterLab automatically switches to Simple Interactive Mode.

JupyterLab automatically switches to Simple Interactive Mode when the screen zooms out.

This feature is currently being iteratively updated to make the interface more accessible on mobile devices.

Install new extensions using pip and conda/mamba

JupyterLab extensions can now be distributed as pre-built extensions without requiring users to rebuild JupyterLab or install Node.js. Users can distribute pre-built extensions as Python packages using familiar package managers such as pip, conda, and mamba, making it faster and easier to install and use extensions.

Install new extensions using pip.

Pre-built extensions can be published as separate packages in PyPI and conda-forge, or bundled into packages with Jupyter Server extensions and Classic Notebook extensions. These contribute to consistency throughout the system.

For example: Install new ipywidgets 7.6.0 using pip or conda to automatically enable ipywidgets in typical Jupyter Notebook and JupyterLab 3.0-no extra steps or rebuilding JupyterLab.

Automatically install ipywidgets in JupyterLab 3.0.

Improved workflow for Extension Author

The new pre-built extensions are easy to develop for Extension Author. TypeScript extension cookiecutter has been updated to develop pre-built extensions by default and provides all the necessary tools to quickly create new extensions from scratch.

At this point, I believe everyone has a deeper understanding of "JupyterLab3.0 how to install", may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report