From 3ae1393e950de3ce09ea763bc99304d8029113f8 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 17 Dec 2022 15:51:31 +0100 Subject: [PATCH] improve venv --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 8da451e..1d19b0f 100755 --- a/scripts/install +++ b/scripts/install @@ -109,7 +109,10 @@ ynh_script_progression --message="Installing python dependencies..." --weight=1 # ynh_install_app_dependencies $pkg_dependencies -venv/bin/pip install flask +pushd $final_path + python3 -m venv venv + venv/bin/pip install --upgrade pip + venv/bin/pip install flask #================================================= # CREATE DEDICATED USER