From a3345f78dd0969bcbf5af564b4271b84f18d0efb Mon Sep 17 00:00:00 2001 From: alfrix Date: Thu, 28 Sep 2023 14:38:28 -0300 Subject: [PATCH] installer: call python3 close #1131 i have no taken into account old distros that have python 2 as default since python 2 has not been supported since 2020 keep in mind that python 3.7 is out of support and i will push KS requeriments to 3.9 when buster enters EOL mid-next year (bullseye has 3.9) 3.8 will be out of support close to buster, it will be skipped so anyone on legacy distros will not be able to update KS past july 2024 --- scripts/KlipperScreen-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/KlipperScreen-install.sh b/scripts/KlipperScreen-install.sh index 04cfd76a..3d279eba 100755 --- a/scripts/KlipperScreen-install.sh +++ b/scripts/KlipperScreen-install.sh @@ -97,7 +97,7 @@ install_packages() check_requirements() { echo_text "Checking Python version" - python --version + python3 --version if ! python -c 'import sys; exit(1) if sys.version_info <= (3,7) else exit(0)'; then echo_text 'Not supported' exit 1