Skip to content
Snippets Groups Projects
Verified Commit 2007bd9f authored by Adam Caprez's avatar Adam Caprez
Browse files

Make common env location note more prominent.

parent 5ad78840
No related branches found
No related tags found
No related merge requests found
...@@ -411,19 +411,17 @@ Jupyter Notebook. To do so, follow the steps below, replacing ...@@ -411,19 +411,17 @@ Jupyter Notebook. To do so, follow the steps below, replacing
# Install the kernel specification # Install the kernel specification
python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)" --env PATH $PATH python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)" --env PATH $PATH
{{< /highlight >}} {{< /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 %}} {{% notice note %}}If needed, other variables can be set via additional `--env` arguments, e.g.,
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`,
`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.
where `VAR` and `value` are the name and the value of the variable respectively. {{% /notice %}}
{{% /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 %}}
2. For an **R** conda environment, install the jupyter\_client and 2. For an **R** conda environment, install the jupyter\_client and
IRkernel packages, and then the kernel specification: IRkernel packages, and then the kernel specification:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment