Installation¶
JupyterLab can be installed using conda, mamba, pip, pipenv or docker.
1.conda¶
If you use conda, you can install it with:
conda install -c conda-forge jupyterlab
2.mamba¶
If you use mamba, you can install it with:
mamba install -c conda-forge jupyterlab
3.pip¶
If you use pip, you can install it with:
pip install jupyterlab
If you are using a macOS version that comes with Python 2, run pip3 instead of pip.
If installing using pip install --user, you must add the user-level bin directory to your PATH environment variable in order to launch jupyter lab. If you are using a Unix derivative (FreeBSD, GNU/Linux, macOS), you can do this by running export PATH="$HOME/.local/bin:$PATH".
4.pipenv¶
If you use pipenv, you can install it as:
pipenv install jupyterlab pipenv shell
or from a git checkout:
pipenv install git+git://github.com/jupyterlab/jupyterlab.git#egg\=jupyterlab pipenv shell
When using pipenv, in order to launch jupyter lab, you must activate the project’s virtualenv. For example, in the directory where pipenv’s Pipfile and Pipfile.lock live (i.e., where you ran the above commands):
jupyter lab
Alternatively, you can run jupyter lab inside the virtualenv with
pipenv run jupyter lab
5.Docker¶
If you have Docker installed, you can install and use JupyterLab by selecting one of the many ready-to-run Docker images maintained by the Jupyter Team. Follow the instructions in the Quick Start Guide to deploy the chosen Docker image.
Ensure your docker command includes the -e JUPYTER_ENABLE_LAB=yes flag to ensure JupyterLab is enabled in your container.