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
This commit is contained in:
parent
685061fc24
commit
a3345f78dd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user