Use mamba instead of conda where possible

This commit is contained in:
Ayaz Salikhov
2021-08-24 23:41:32 +03:00
parent c3b52b9560
commit 1fce48cd6c
17 changed files with 60 additions and 88 deletions

View File

@@ -99,8 +99,8 @@ The next steps are:
```bash
if [ -f "/home/${NB_USER}/environment.yml" ]; then
conda env update --name root --file "/home/${NB_USER}/environment.yml"
conda clean --all -f -y
mamba env update --name root --file "/home/${NB_USER}/environment.yml"
mamba clean --all -f -y
else
if [ -f "/home/${NB_USER}/requirements.txt" ]; then
pip --no-cache-dir install -r "/home/${NB_USER}/requirements.txt"

View File

@@ -25,8 +25,8 @@ rm -rf /tmp/src
# use 'pip' instead.
if [ -f "/home/${NB_USER}/environment.yml" ]; then
conda env update --name root --file "/home/${NB_USER}/environment.yml"
conda clean --all -f -y
mamba env update --name root --file "/home/${NB_USER}/environment.yml"
mamba clean --all -f -y
else
if [ -f "/home/${NB_USER}/requirements.txt" ]; then
pip --no-cache-dir install -r "/home/${NB_USER}/requirements.txt"