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
版权声明:本文标题:cpanel - 503 error when running a python application on planet hosterN0C - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741968755a2407704.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论