diff --git a/INSTALL.sh b/INSTALL.sh index 9c15e61e..ea6a08a9 100644 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -1619,7 +1619,11 @@ install_openadmin(){ git clone -b $py_enchoded_for_distro --single-branch https://github.com/stefanpejcic/openadmin $OPENPADMIN_DIR cd $OPENPADMIN_DIR - pip install --default-timeout=3600 -r requirements.txt > /dev/null 2>&1 || pip install --default-timeout=3600 -r requirements.txt --break-system-packages > /dev/null 2>&1 + + # for 0.3.5 ONLY! + sed -i '/^gevent$/s/.*/gevent==24.11.1/' requirements.txt > /dev/null 2>&1 + + pip install --default-timeout=3600 --force-reinstall --ignore-installed -r requirements.txt > /dev/null 2>&1 || pip install --default-timeout=3600 --force-reinstall --ignore-installed -r requirements.txt --break-system-packages > /dev/null 2>&1 # on debian12 yaml is also needed to read conf files! if [ -f /etc/os-release ] && grep -q "Debian" /etc/os-release; then