From dde9196c65fa3be357d4fb633cf35192e2848307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 27 Jun 2022 17:23:44 +0200 Subject: [PATCH] Fix issue don't find virtualenv command --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ca90663..3ad66a9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -32,7 +32,7 @@ install_sources() { ynh_setup_source --dest_dir "$final_path" # pip installation - virtualenv --python=$(which pypy | head -n 1) "$final_path/local" + python3 -m virtualenv --python=$(which pypy | head -n 1) "$final_path/local" # Install manually pip v20.1 because the installed version from the system don't work any more with pyp v2.7 cp -r ../sources/pip_20.1/. $final_path/local/site-packages/pip