From 2c6888751adc1b1af41d0193ce0f5538d43276de Mon Sep 17 00:00:00 2001 From: Axel Rosendahl Huber <36924327+AxelRosendahlHuber@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:59:15 +0100 Subject: [PATCH] Create Jupyter Created the start of a Jupyter page for the bbgwiki --- docs/Tools/Jupyter | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/Tools/Jupyter diff --git a/docs/Tools/Jupyter b/docs/Tools/Jupyter new file mode 100644 index 00000000..4ef8df7b --- /dev/null +++ b/docs/Tools/Jupyter @@ -0,0 +1,32 @@ +# Jupyter - notebook - lab + +Jupyterlab is an interactive notebook environment to run Python, R and many more languages. +jupyter.org + + + +## Installation +Jupyter can be installed using either `conda` or `mamba` +conda: `conda install -c anaconda jupyter` +mamba: `mamba install -c anaconda jupyter` + +## Launching jupyter notebook or lab + +#### locally: +Launch a new notebook session using : +```bash +jupyter notebook +``` +or a jupyter lab session: +```bash +jupyter lab +``` +#### cluster +See [here](https://bbglab.github.io/bbgwiki/Cluster_basics/Notebooks_in_cluster/) for the instructions to launch and connect to jupyter sessions on the computing cluster + +### Change conda environment from inside a running cluster session + +```bash +conda install -c anaconda ipykernel +python -m ipykernel install --user --name=env_name +```