diff --git a/cyberpanel.sh b/cyberpanel.sh index aa0f0fc73..1df20fc2f 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1865,7 +1865,7 @@ Retry_Command "pip install --default-timeout=3600 -r /usr/local/requirments.txt" if [[ "$Server_OS" = "Ubuntu" ]] && [[ "$Server_OS_Version" = "22" ]] ; then cp /usr/bin/python3.10 /usr/local/CyberCP/bin/python3 else - if [[ "$Server_OS_Version" = "9" ]]; then + if [[ "$Server_OS_Version" = "9" ]] || [[ "$Server_OS_Version" = "8" ]]; then echo "PYTHONHOME=/usr" > /usr/local/lscp/conf/pythonenv.conf else # Uncomment and use the following lines if necessary for other OS versions