Skip to content
Snippets Groups Projects

Modify ipykernel to append PATH

Merged Natasha Pavlovikj requested to merge conda_wrapper into master
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -273,9 +273,13 @@ Jupyter Notebook. To do so, follow the steps below, replacing
conda install ipykernel
# Install the kernel specification
python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)"
python -m ipykernel install --user --name "$CONDA_DEFAULT_ENV" --display-name "Python ($CONDA_DEFAULT_ENV)" --env PATH $PATH
{{< /highlight >}}
{{% 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:
Loading