Jupyter
Jupyter Notebook allows interactive coding using Python and visualization of results in a notebook-style interface. However, Jupyter is no longer pre-installed in the Sandbox IVM. Users need to install it manually or use a pre-configured fg-python module that includes Jupyter.
How to install and use Jupyter
Install Jupyter using pip
:
pip install jupyter
This will install the Jupyter ecosystem, including the classic notebook interface and additional tools like JupyterLab and nbconvert.
Note: If you are not installing Jupyter in a virtual environment, ensure the directory where Jupyter was installed is in your PATH, you can add it temporarily with e.g.
export PATH=/home/ivm/.local/bin:$PATH
To start Jupyter notebooks server in Sandbox, run the following command:
jupyter notebook
After running jupyter notebook
, it prints a URL like this in the terminal:
http://localhost:8888/tree?token=your_token_here
Copy this URL and paste it into your browser to open Jupyter.
Example
Figure 1. Upload example notebook in Sandbox production environment from /finngen/shared/example_notebook/20210512_142337/files/tpsipila/notebook_example/jupyter_test.ipynb. Click upload to confirm and click jupyter_test.ipynb to open the notebook.

Click here to visit the site with the full Jupyter official documentation.
Last updated
Was this helpful?