admin管理员组

文章数量:1314471

I'm trying to create a simple python application on planet hoster which use the N0C interface (instead of cpanel), I didn't add any code (run.py contains only the template for the 200 ok message) I tried with several versions of Python just in case (8, 9, 11, 12) but keep getting the same 503 error when I try to launch the app on the browser.

I use that command to source the environnment source /home/[...]/virtualenv/my_application/3.11/bin/activate

When I check the sdterr.log file I see that error : lscgid: execve():/usr/local/lsws/fcgi-bin/lswsgi_wrapper: No such file or directory

I have seen maybe it could be related to LiteSpeed version, and I should at least get the 5.4.10 version , but when I do pip install LiteSpeed==5.4.10 I get the message :

ERROR: Could not find a version that satisfies the requirement LiteSpeed==5.4.10 (from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0)
ERROR: No matching distribution found for LiteSpeed==5.4.10

Have you an idea what could solve this problem ? Thank you very much in advance.

本文标签: cpanel503 error when running a python application on planet hosterN0CStack Overflow