The `jupyter` package is a metapackage designed for user convenience, providing a single command to install core Project Jupyter components like Jupyter Notebook, JupyterLab, and the IPython Kernel. It is an empty package that simply declares dependencies on other Jupyter projects, rather than providing direct functionality itself. The current version is 1.1.1, released on August 30, 2024. While the metapackage version updates infrequently, installing it typically pulls in the latest stable versions of its constituent components.
pip install jupyterVerified import paths — ran on the pinned version, not inferred.
After installing the `jupyter` metapackage, launch either the classic Jupyter Notebook or the modern JupyterLab interface from your terminal.
Refer to the individual component packages (e.g., `jupyterlab`, `notebook`) for their specific version numbers and changelogs if precise versioning is required. Use `pip show jupyterlab` or `pip show notebook` to check installed versions.
When defining project dependencies, specify individual Jupyter components (e.g., `jupyterlab>=4.0`, `notebook>=7.0`) instead of the `jupyter` metapackage.
For complex projects requiring multiple files, terminals, or advanced features, prefer starting with `jupyter lab`. For simpler, sequential notebook tasks, `jupyter notebook` might suffice.
If experiencing performance issues, consider using the classic Jupyter Notebook (`jupyter notebook`) for simpler tasks or ensure your system meets the recommended specifications for JupyterLab.
Review the official JupyterLab 4 migration guide. Be prepared to update or re-install extensions, and test any custom configurations thoroughly after upgrading.
To invoke Jupyter Notebook or JupyterLab from a Python script, use `subprocess.run(['jupyter', 'notebook'])` or `os.system('jupyter notebook')`.To execute `jupyter` commands from within a Python script, use modules like `subprocess` (e.g., `import subprocess; subprocess.run(['jupyter', 'notebook'])`) or ensure they are run directly in a shell environment.