Skip to content

Commit

Permalink
check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kcgthb committed Nov 16, 2023
1 parent 8bdb2b0 commit 3f5c25a
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions src/docs/user-guide/ondemand.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f5c25a

Please sign in to comment.