JupyterLab
JupyterLab is an open-source, web-based interactive development environment for notebooks, code, and data, serving as the next-generation user interface for Project Jupyter. It consolidates familiar tools like notebooks, terminals, text editors, and file browsers into a flexible and extensible interface. Currently at version 4.5.6, it is actively maintained with frequent minor and patch releases, and significant major version updates less often.
Warnings
- breaking JupyterLab 3.x extensions are generally incompatible with JupyterLab 4.x due to significant type and API changes. JupyterLab 3 reached end of maintenance on May 15, 2024, with critical fixes until December 31, 2024. Upgrade extensions and ensure compatibility when migrating to JupyterLab 4.
- gotcha If 'jupyter' command is not found after `pip install --user jupyterlab`, it's likely due to the user-level bin directory not being in your PATH environment variable.
- gotcha Avoid running `jupyter lab` from your root volume (e.g., `C:\` on Windows or `/` on Linux) to minimize the risk of inadvertently modifying system files.
- deprecated For Jupyter Notebook versions older than 5.3, enabling the JupyterLab server extension required running `jupyter serverextension enable --py jupyterlab --sys-prefix`. This step is no longer necessary for modern JupyterLab installations.
- deprecated Older 'source extensions' for JupyterLab, which required Node.js and a full JupyterLab rebuild upon installation, are deprecated. Modern prebuilt extensions are distributed as Python packages and can be installed with `pip` or `conda` without a rebuild.
- gotcha Real-time collaboration (RTC) in JupyterLab 4 has been moved into a separate package, `jupyter_collaboration`. It's no longer built-in.
Install
-
pip install jupyterlab
Imports
- JupyterServerApp
from jupyter_server.serverapp import JupyterServerApp
Quickstart
jupyter lab