JupyterLab
Installation & Configuration

Prerequisite:

Installing and updating JupyterLab

  1. Start and enter the virtual machine.

  2. In the start menu, find Anaconda Prompt and right-click to choose run as administrator.

  3. Execute the following commands:

conda install -c conda-forge jupyterlab
conda update -c conda-forge jupyterlab

Configurating JupyterLab

Make sure Jupyter uses the shared data folder.

  1. Create a dedicated folder on Z: (your workspace data drive), e.g. Z:\JupyterLab.

  2. In the Start menu, find the program Jupyter Notebook (Anaconda3), then right-click and select Open file location (A).

  3. In the File Explorer, right-click Jupyter Notebook (Anaconda3) and select Copy, then Paste the shortcut in the same folder and rename to JupyterLab (Anaconda3)

  4. Right-click the new shortcut and select Properties (B).

  5. In the Properties window under the tab Shortcut, make the following changes (C):

    • Target: C:\ProgramData\Anaconda3\python.exe C:\ProgramData\Anaconda3\cwp.py C:\ProgramData\Anaconda3 C:\ProgramData\Anaconda3\Scripts\jupyter-lab-script.py "Z:\JupyterLab"

    • Start in: "Z:\JupyterLab"

    • Press OK to save changes

  6. Make sure the shortcut is available to all users, e.g. by putting it on the shared desktop

A)

B)

C)

Jupyter is a web-based program that will automatically start in your default browser. It is known that Internet Explorer might fail to open JupyterLab, so make sure to change your default browser to, for example, Google Chrome. This is a personal setting that must be changed by each individual user of the virtual machine.

  1. In the virtual machine, go to the default apps overview (e.g., by typing default apps in the Start menu).

  2. Under Web browser, select Chrome

Updating JupyterLab

Regularly update JupyterLab together with Anaconda.

  1. Start and enter the virtual machine.

  2. In the start menu, find Anaconda Prompt and right-click to choose run as administrator.

  3. Execute the following commands:

conda clean --packages --yes
conda update anaconda
conda update -c conda-forge jupyterlab --yes