====Jupyter====
This page demonstrates installation Jupyter notebook with [[projects:wikibass|wikiBASS]].
===Debian===
Follow the guide for [[projects:wikibass|wikiBASS]] for Debian
which installs Jupyter as a dependency within its virtual environment.
==Run==
jupyter-notebook
===Windows===
Install [[https://wiki.kewl.org/projects:wikibass#setup|Python]] for Windows as per the
instructions found in [[https://wiki.kewl.org/projects:wikibass|wikiBASS]].
Setup and run notebook from Windows PowerShell
==Setup==
py -m pip install jupyter
py -m pip install notebook
==Run==
jupyter-notebook
===WSL1===
Follow the instructions above for Windows to install Python and Jupyter.
==Setup==
Create a shell script to run Jupyter in WSL1 utilising the Windows
installation.
__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
===Run==
sh jupyter.sh notebook
===Resources===
[[https://jupyter.org/|Jupyter homepage]]