This is an old revision of the document!


Table of Contents

Jupyter

This page demonstrates using Jupyter notebook with wikiBASS.

Debian

Follow the guide for wikiBASS for Debian which installs Jupyter as a dependency within its virtual environment.

Run

notebook

jupyter-notebook

WSL1

Install Python for WSL1 as per the instructions found for Window and WSL1 in wikiBASS.

Setup

PowerShell

py -m pip install jupyter
py -m pip install notebook
Script

jupyter.sh

#! /bin/sh

if test $# -ne 1; then
        echo "USAGE: jupyter.sh notebook|lab\n"
        exit
fi

mkdir -p "$HOME/Notebook" && cd "$HOME/Notebook"

# username is windows login

PYTHON="/mnt/c/Users/username/AppData/Local/Programs/Python/Python313/python.exe"

JUPYTER="C:/Users/username/AppData/Local/Programs/Python/Python313/Lib/site-packages/jupyter.py"

case "$1" in
        notebook)
        $PYTHON $JUPYTER notebook
        ;;
        lab)
        $PYTHON $JUPYTER lab
        ;;
        *)
        echo "USAGE: jupyter.sh notebook|lab\n"
        exit
esac
chmod +x jupyter.sh
Run
./jupyer.sh notebook

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies