Update setup.sh
This commit is contained in:
parent
cbbbe8a5ba
commit
abd747bdfa
4
setup.sh
4
setup.sh
@ -25,7 +25,7 @@ function check_installed_python() {
|
|||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for v in 9 10 8
|
for v in 10 9 8
|
||||||
do
|
do
|
||||||
PYTHON="python3.${v}"
|
PYTHON="python3.${v}"
|
||||||
which $PYTHON
|
which $PYTHON
|
||||||
@ -35,7 +35,7 @@ function check_installed_python() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
PYTHON="python3.10"
|
||||||
echo "No usable python found. Please make sure to have python3.8 or newer installed."
|
echo "No usable python found. Please make sure to have python3.8 or newer installed."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user