From 58818a7d1301f90bbb4946ff3fe6155539b3b22f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 28 Jul 2022 03:46:32 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 3210027..6857244 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -64,7 +64,7 @@ function set_up_backend { fi local python_path="$path_prefix:$(ynh_exec_warn_less ynh_exec_as $app bash -c 'echo $PATH')" local cache_dir="$backend_path/.cache/pip" - ynh_exec_warn_less ynh_exec_as $app env "PATH=$python_path" pip --cache-dir "$cache_dir" install -U wheel pip setuptools + ynh_exec_warn_less ynh_exec_as $app env "PATH=$python_path" pip --cache-dir "$cache_dir" install -U wheel pip setuptools pyvips if [ "$YNH_ARCH" = "arm64" ] || [ "$arm64_test" -eq 1 ]; then ynh_exec_warn_less ynh_exec_as $app env "CONDA_DIR=$CONDA_DIR" bash "${CONDA_DIR}/Miniforge3-4.10.1-4-Linux-aarch64.sh" -bu -p "${CONDA_DIR}" ynh_exec_warn_less ynh_exec_as $app env "PATH=$python_path" pip --cache-dir "$cache_dir" install -U torch==1.8.1 torchvision==0.9.1 -f https://torch.maku.ml/whl/stable.html