From 24dbe2ea939d7f7d0a812dda50664a350bd14f6d Mon Sep 17 00:00:00 2001 From: Filipe Guimaraes <f.guimaraes@fz-juelich.de> Date: Mon, 10 Jan 2022 10:19:43 +0100 Subject: [PATCH] Fixed display of strings on pyenv kernel tutorial --- 001-Jupyter/Create_JupyterKernel_pyenv.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/001-Jupyter/Create_JupyterKernel_pyenv.ipynb b/001-Jupyter/Create_JupyterKernel_pyenv.ipynb index 012a4b7..2a26cff 100644 --- a/001-Jupyter/Create_JupyterKernel_pyenv.ipynb +++ b/001-Jupyter/Create_JupyterKernel_pyenv.ipynb @@ -70,7 +70,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "**Important**: It is recommended to use a folder inside the $PROJECT file system, as the **$HOME** quota is low. It is also useful to share installation for different users in a single project." + "**Important**: It is recommended to use a folder inside the `$PROJECT` file system, as the `$HOME` quota is low. It is also useful to share installation for different users in a single project." ] }, { @@ -394,14 +394,14 @@ "\n", "module purge\n", "\n", - "export PYENV_ROOT=$PYENV_ROOT\n", - "export PATH=\"$PYENV_ROOT/bin:$PATH\"\n", + "export PYENV_ROOT='\"$PYENV_ROOT\"'\n", + "export PATH='\"$PYENV_ROOT\"'/bin:'\"$PATH\"'\n", "eval \"$(pyenv init --path)\"\n", "eval \"$(pyenv init -)\"\n", "eval \"$(pyenv virtualenv-init -)\"\n", "\n", "# Activate your Python virtual environment\n", - "pyenv activate \"${PYENV_ENV}\"\n", + "pyenv activate '\"${PYENV_ENV}\"'\n", "\n", "exec python -m ipykernel $@' > ${PYENV_ROOT}/versions/${PYENV_ENV}/kernel.sh" ] -- GitLab