From bca3c32be5338b7cd3de4a279787ab66d5063727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Tue, 19 Nov 2024 21:48:04 +0100 Subject: [PATCH] copy existing kernel --- docs/installation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 1e7712e0..8e25616c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -172,12 +172,12 @@ The second option is to create a separate Jupyter kernel for flux. This option r still it has the advantage that it is also compatible with the multi-user jupyterhub environment. Start by identifying the directory Jupyter searches for Jupyter kernels: ``` -jupyter --paths +jupyter kernelspec list ``` -This returns a list of directories commonly `~/.local/share/jupyter` is one of those. It is recommended to create the -flux kernel in this directory. Start by creating the corresponding directory: +This returns a list of jupyter kernels, commonly stored in `~/.local/share/jupyter`. It is recommended to create the +flux kernel in this directory. Start by creating the corresponding directory by copying one of the existing kernels: ``` -mkdir -p ~/.local/share/jupyter/kernels/flux +cp -r ~/.local/share/jupyter/kernels/python3 ~/.local/share/jupyter/kernels/flux ``` In the directory a JSON file is created which contains the configuration of the Jupyter Kernel. You can use an editor of your choice, here we use vi to create the `kernel.json` file: