From 3f5c25acc554380fd0ebf22321bea1cae31a77b4 Mon Sep 17 00:00:00 2001 From: Kilian Cavalotti Date: Wed, 15 Nov 2023 18:04:15 -0800 Subject: [PATCH] check fix --- src/docs/user-guide/ondemand.md | 41 +++++++++++++++++---------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/src/docs/user-guide/ondemand.md b/src/docs/user-guide/ondemand.md index 12b51cfcf..6ad290cc0 100644 --- a/src/docs/user-guide/ondemand.md +++ b/src/docs/user-guide/ondemand.md @@ -322,26 +322,27 @@ To create a custom kernel for a virtual environment using Python 3.x: $ pip3 install ipykernel $ python3 -m install --user --name env --display-name "My Env" ``` - - This will create a kernel for the environment `env`. It will appear as "My Env" - in the JupyterLab Launcher. - -!!! Note "Creating a custom kernel for a Python 2.x environment" - - When working with a Python 2.x environment, use the `python`/`pip` - commands instead. - -2. The custom kernel will now be listed as option in the "Notebook" and "Console" - sections in the JupyterLab Launcher. To start a Jupyter Notebook using your - virtual environment, click on the tile for that kernel. - -!!! warning "Creating a custom kernel for a conda environment" - - In order to use a kernel created from a conda environment, you must unload the - `python` and `py-jupyterlab` modules from your JupyterLab session. This can - be done using the JupyterLab Lmod extension. To use the Lmod extension, select - the bottom tab in the left side menu of your JupyterLab window. You may also - need to restart the kernel for your notebook or console. + + This will create a kernel for the environment `env`. It will appear as `My + Env` in the JupyterLab Launcher. + + !!! Note "Creating a custom kernel for a Python 2.x environment" + + When working with a Python 2.x environment, use the `python`/`pip` + commands instead. + +2. The custom kernel will now be listed as option in the "Notebook" and + "Console" sections in the JupyterLab Launcher. To start a Jupyter Notebook + using your virtual environment, click on the tile for that kernel. + + !!! warning "Creating a custom kernel for a conda environment" + + In order to use a kernel created from a conda environment, you must + unload the `python` and `py-jupyterlab` modules from your JupyterLab + session. This can be done using the JupyterLab Lmod extension. To use + the Lmod extension, select the bottom tab in the left side menu of your + JupyterLab window. You may also need to restart the kernel for your + notebook or console. ### MATLAB