Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:services:application_services:jupyter:start [2023/03/30 16:05] – [Installation of additional packages and environments via Conda] bwegman1 | en:services:application_services:jupyter:start [2023/03/30 16:22] – [Notebook fails to start after package installation or kernel connection failure] bwegman1 | ||
---|---|---|---|
Line 71: | Line 71: | ||
mv -v .local/ .local.gwdg-disable | mv -v .local/ .local.gwdg-disable | ||
</ | </ | ||
+ | |||
<WRAP tip> | <WRAP tip> | ||
**mamba** is an alternative implementation of the **conda** package manager. They are interchangeable, | **mamba** is an alternative implementation of the **conda** package manager. They are interchangeable, | ||
+ | https:// | ||
</ | </ | ||
Line 90: | Line 92: | ||
Creating and activating the environment: | Creating and activating the environment: | ||
<code bash> | <code bash> | ||
- | conda create -y --prefix ./ | + | mamba create -y --prefix ./ |
- | conda activate ./wikidoku | + | mamba activate ./wikidoku |
</ | </ | ||
As an example the package '' | As an example the package '' | ||
<code bash> | <code bash> | ||
- | conda install -y jinja2 | + | mamba install -y jinja2 |
</ | </ | ||
Line 103: | Line 105: | ||
python3 -m ipykernel install --user --name wikidoku --display-name " | python3 -m ipykernel install --user --name wikidoku --display-name " | ||
jupyter kernelspec list | jupyter kernelspec list | ||
- | conda deactivate | + | mamba deactivate |
</ | </ | ||
Line 119: | Line 121: | ||
Via '' | Via '' | ||
- | === Installing additional kernels in an Conda environment === | + | === Installing additional kernels in an Conda/ |
Installing a new, independent Python kernel für the current environment is possible. As an example an older Python 2.7 kernel will be installed next. | Installing a new, independent Python kernel für the current environment is possible. As an example an older Python 2.7 kernel will be installed next. | ||
Line 126: | Line 128: | ||
Next follows the installation of the kernel, the '' | Next follows the installation of the kernel, the '' | ||
<code bash> | <code bash> | ||
- | conda install -y python=2.7 | + | mamba install -y python=2.7 |
python3 -m pip install jupyter | python3 -m pip install jupyter | ||
python3 -m ipykernel install --user --name oldpython --display-name " | python3 -m ipykernel install --user --name oldpython --display-name " |