Python 3.8 Application Fails With 503

eeintech

Registered
Jul 8, 2021
2
0
1
Canada
cPanel Access Level
Website Owner
I did the following steps:
1. Add subdomain
2. Create a Python App using Python 3.x and serving the subdomain
3. Setup Django project using cPanel terminal
4. Update `passenger_wsgi.py` to serve Django project
5. Restart Python App and navigate to subdomain.domain URL

Using Python 3.8.6 I'm getting a "503 Error".
However running the exact same steps using Python 3.7.10 instead, everything is working.

Could there be a problem with Python 3.8 setup on cPanel?

Thanks!
 

eeintech

Registered
Jul 8, 2021
2
0
1
Canada
cPanel Access Level
Website Owner
@cPRex Okay that's too bad. I still don't understand why would there be a difference between those two versions of Python...

I guess I'll keep on using 3.7 in the foreseeable future, unless someone knows the trick.