Add support for python 3.12 in setup.sh

closes #10220
This commit is contained in:
Matthias 2024-05-18 15:05:14 +02:00
parent 8d93f27185
commit 1e0782b626

View File

@ -25,7 +25,7 @@ function check_installed_python() {
exit 2 exit 2
fi fi
for v in 11 10 9 for v in 12 11 10 9
do do
PYTHON="python3.${v}" PYTHON="python3.${v}"
which $PYTHON which $PYTHON
@ -277,7 +277,7 @@ function install() {
install_redhat install_redhat
else else
echo "This script does not support your OS." echo "This script does not support your OS."
echo "If you have Python version 3.9 - 3.11, pip, virtualenv, ta-lib you can continue." echo "If you have Python version 3.9 - 3.12, pip, virtualenv, ta-lib you can continue."
echo "Wait 10 seconds to continue the next install steps or use ctrl+c to interrupt this shell." echo "Wait 10 seconds to continue the next install steps or use ctrl+c to interrupt this shell."
sleep 10 sleep 10
fi fi