From 2007bd9fb35153c5c5d540bc22a138c91f95244d Mon Sep 17 00:00:00 2001 From: Adam Caprez <acaprez2@unl.edu> Date: Mon, 1 Jul 2024 21:37:57 +0000 Subject: [PATCH] Make common env location note more prominent. --- .../using_anaconda_package_manager.md | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/content/applications/user_software/using_anaconda_package_manager.md b/content/applications/user_software/using_anaconda_package_manager.md index a044cb00..d258b4ad 100644 --- a/content/applications/user_software/using_anaconda_package_manager.md +++ b/content/applications/user_software/using_anaconda_package_manager.md @@ -411,19 +411,17 @@ Jupyter Notebook. To do so, follow the steps below, replacing # Install the kernel specification python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)" --env PATH $PATH {{< /highlight >}} + + {{% notice info %}}If the conda environment is located in $COMMON (e.g., `$COMMON/conda_env`), please use the name of the environment + instead of $CONDA_DEFAULT_ENV, e.g.,: + `python -m ipykernel install --user --name conda_env --display-name "Python (conda_env)" --env PATH $PATH` + where `conda_env` is replaced with the name of your conda enironment. + {{% /notice %}} - {{% notice note %}} - If needed, other variables can be set via additional `--env` arguments, e.g., - `python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)" --env PATH $PATH --env VAR value`, - where `VAR` and `value` are the name and the value of the variable respectively. - {{% /notice %}} - - {{% notice note %}} - If the conda environment is located in $COMMON (e.g., `$COMMON/conda_env`), please use the name of the environment - instead of $CONDA_DEFAULT_ENV, e.g.,: - `python -m ipykernel install --user --name conda_env --display-name "Python (conda_env)" --env PATH $PATH` - where `conda_env` is replaced with the name of your conda enironment. - {{% /notice %}} + {{% notice note %}}If needed, other variables can be set via additional `--env` arguments, e.g., + `python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)" --env PATH $PATH --env VAR value`, + where `VAR` and `value` are the name and the value of the variable respectively. + {{% /notice %}} 2. For an **R** conda environment, install the jupyter\_client and IRkernel packages, and then the kernel specification: -- GitLab