From 861683644ee4807aa0e294d3d79e8819135128bb Mon Sep 17 00:00:00 2001 From: michael <m.langguth@fz-juelich.de> Date: Mon, 28 Feb 2022 20:39:08 +0100 Subject: [PATCH] Add try to re-installation of virtualenv-module to install_venv_container.sh. --- video_prediction_tools/env_setup/install_venv_container.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/video_prediction_tools/env_setup/install_venv_container.sh b/video_prediction_tools/env_setup/install_venv_container.sh index e6444cc3..45065c48 100755 --- a/video_prediction_tools/env_setup/install_venv_container.sh +++ b/video_prediction_tools/env_setup/install_venv_container.sh @@ -56,8 +56,9 @@ else # Change into the base-directory of virtual environments... cd "${VENV_BASE}" || return if ! python -m virtualenv --version >/dev/null; then - echo "ERROR: Base directory for virtual environment exists, but virtualenv-module is unavailable." - exit + echo "WARNING: Base directory for virtual environment exists, but virtualenv-module is unavailable." + echo "Try installation." + pip3 install --target="${VENV_BASE}"/ virtualenv fi echo "Virtualenv is already installed." fi -- GitLab