From 0c9b061179d0460a63c57d67b0fa1338196f5e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20Lothor=C3=A9?= Date: Sun, 15 Nov 2020 16:00:49 +0100 Subject: [PATCH] Migrate to python3 --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 12fe11c..faac102 100644 --- a/scripts/install +++ b/scripts/install @@ -56,9 +56,9 @@ chown -R $app: "$home_path" ynh_script_progression --message="Installing Octoprint in a virtual environment..." exec_as $app -H -s /bin/bash -c " \ echo 'create the virtual environment' \ - && virtualenv "$final_path" \ + && virtualenv -p $(which python3) "$final_path" \ && echo 'install Octoprint' \ - && "$final_path"/bin/pip install $app \ + && "$final_path"/bin/pip3 install $app \ " # set default configuration files