From afb355fc2540c9a6972e5b6eba7d9533e2a7786c Mon Sep 17 00:00:00 2001 From: Filipe Guimaraes <f.guimaraes@fz-juelich.de> Date: Mon, 10 Jan 2022 17:10:28 +0100 Subject: [PATCH] Added a comment that the environment must be "clean" (using `module purge`), which is not the case when entering a terminal via Jupyter --- 001-Jupyter/Create_JupyterKernel_pyenv.ipynb | 25 +++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/001-Jupyter/Create_JupyterKernel_pyenv.ipynb b/001-Jupyter/Create_JupyterKernel_pyenv.ipynb index 3f775bc..b1aee18 100644 --- a/001-Jupyter/Create_JupyterKernel_pyenv.ipynb +++ b/001-Jupyter/Create_JupyterKernel_pyenv.ipynb @@ -134,6 +134,29 @@ "The following steps describe how to create and setup a new pyenv environment to be used as a jupyter kernel. They can be repeated if multiple environments are required." ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "For these steps, make sure to have a clean environment before starting this process. This can be obtained by running `module purge`:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "$ module purge\n", + "$ module list\n", + "\n", + "Currently Loaded Modules:\n", + " 1) Stages/2020 (S)\n", + "\n", + " Where:\n", + " S: Module is Sticky, requires --force to unload or purge" + ] + }, { "cell_type": "markdown", "metadata": {}, @@ -186,7 +209,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "* 2.3 - Create a new environment **$PYENV_ENV**" + "* 2.3 - Create a new environment **$PYENV_ENV** (defined in **[Settings section](#settings)**)" ] }, { -- GitLab