Registry / data / notebook

notebook

JSON →
library7.5.5pypypiunverified

Jupyter Notebook is a web-based notebook environment for interactive computing, enabling users to create and share documents that contain live code, equations, visualizations, and narrative text. The current stable version is 7.5.5. Version 7 represents a significant architectural shift, building its frontend on JupyterLab components and its backend on Jupyter Server. The project maintains an active release cadence, with frequent patch updates and ongoing development towards future major versions.

pip install notebook
INSTALL
IMPORT
SIG · NOTEBOOK
N
notebook
datapythonv7.5.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

The primary way to use Jupyter Notebook is by launching its web-based server from the command line, which then opens in your default web browser. You interact with it directly in the browser. Direct Python imports from the `notebook` library to programmatically launch the UI are not a typical workflow; for programmatic interaction with kernels or notebook execution, `jupyter_client` or `nbclient`/`papermill` are often used.

# 1. Start the Jupyter Notebook server from your terminal: # Navigate to your desired working directory first. # cd /path/to/your/notebooks # jupyter notebook # 2. Once the browser opens, click 'New' -> 'Python 3' to create a new notebook. # 3. In the first cell, type and run the following Python code: print('Hello, Jupyter Notebook!') # Or a more complex example: import pandas as pd data = {'col1': [1, 2], 'col2': [3, 4]} df = pd.DataFrame(data) print(df)
jupyter-notebook --version
Debug
Known issues
breakingJupyter Notebook 7.0 introduced a completely re-architected application based on JupyterLab components and Jupyter Server. This breaks backward compatibility with extensions and configurations designed for Notebook 6.x and earlier versions.
fix
Users migrating from Notebook 6.x must review their extensions and configurations. Many classic Notebook extensions are incompatible with v7; users should seek JupyterLab-compatible alternatives or explicitly install `nbclassic` for continued access to the classic Notebook interface.
affects: 7.0.0 and above
gotchaClassic Notebook extensions are not compatible with Notebook v7's new architecture. The extension system is now aligned with JupyterLab's.
fix
Check for JupyterLab-compatible versions of your extensions. Many popular extensions have been ported. If an extension is critical and not ported, consider using `nbclassic` (which provides the Notebook 6 UI on top of Jupyter Server) as a temporary solution.
affects: 7.0.0 and above
deprecatedPython 3.9 support is being phased out in testing/CI for Notebook 7.5.x, although the PyPI metadata currently lists Python 3.9 as supported.
fix
It is recommended to use Python 3.10 or a newer supported Python version (3.11, 3.12, 3.13) to ensure full compatibility and receive the latest updates and security fixes.
affects: 7.5.x and possibly future 7.x releases
gotchaThe `jupyter notebook` command (for v7) shares its underlying server and extension system with JupyterLab. If both are installed, they can detect and enable each other's user experience.
fix
Be aware that configurations and extensions might affect both applications. For specific Notebook 6.x behavior, `nbclassic` offers the classic UI.
affects: 7.0.0 and above
gotchaThe required 'pandas' module was not found in the environment. This indicates that the necessary third-party library has not been installed.
fix
Install the missing package using pip: `pip install pandas` in the environment where the script or Jupyter Notebook is executed.
affects: All versions (installation issue)
gotchaA `ModuleNotFoundError` indicates that a required Python package is not installed in the environment where the script is being executed.
fix
Ensure all necessary Python packages (e.g., `pandas`) are listed in `requirements.txt` or explicitly installed using `pip install <package-name>` within the environment where your script runs.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'some_module'
This error occurs when the Python interpreter in your Jupyter Notebook environment cannot find a module that you are trying to import. This often happens due to the module not being installed in the active environment or conflicts with multiple Python installations.
fix
Ensure the package is installed in the correct Python environment using `pip install some_module` or `conda install some_module`. If you have multiple Python versions, verify that Jupyter is using the environment where the package is installed. You may also need to restart the Jupyter kernel.
jupyter: command not found
This error indicates that the 'jupyter' command (or 'jupyter-notebook') is not recognized by your system's command-line interpreter, typically because its installation path is not included in the system's PATH environment variable.
fix
Add the directory containing the Jupyter executable (often `~/.local/bin` on Linux/macOS or a `Scripts` folder within your Python installation on Windows) to your system's PATH environment variable. Alternatively, you can run Jupyter using `python -m notebook` or `python3 -m notebook`.
The kernel appears to have died. It will restart automatically.
This error means the Python kernel, which executes your code, has crashed unexpectedly. Common causes include running out of memory, bugs in the code (e.g., infinite loops, syntax errors leading to crashes), conflicts between Python packages, or issues with an outdated or corrupted Jupyter installation.
fix
First, try restarting the kernel from the Jupyter Notebook menu. If the issue persists, check your code for errors, monitor memory usage, update Jupyter and relevant packages (`pip install --upgrade jupyter`), or consider reinstalling `ipykernel` in your environment.
A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.
This error occurs when the Jupyter frontend (your browser) cannot establish or maintain a connection with the Jupyter server process running on your machine. This can be caused by the server unexpectedly shutting down, network issues (like VPN interference), browser caching problems, or incorrect server configuration.
fix
First, ensure the Jupyter server is still running in your terminal; if not, restart it by running `jupyter notebook`. Try clearing your browser's cache or using a different browser. Temporarily disable any VPNs or internet security software. Verify that `localhost` or `127.0.0.1` are being used in the browser address bar.
Upgrade
Version history
7.5.5latest on PyPI · released Mar 11, 2026
Audit
Dependencies
jupyter-serverrequiredNotebook v7 uses jupyter-server (>=2.0.0) for its Python backend.
jupyterlabrequiredNotebook v7's frontend is built upon JupyterLab (>=4.0.0,<5) components.
jupyter-clientrequiredRequired for managing kernel connections.
ipykerneloptionalEssential for running Python code within a Jupyter Notebook. While not a direct dependency of the 'notebook' package itself, it's a fundamental runtime dependency for Python users.
Agent activity
9 hits · last 30 days
node
8
Resources
notebook — pip install notebook · libregistry