Skip to content Skip to sidebar Skip to footer

Django Wsgi Script Won't Load Due To A Python Issue

I'm trying to get Django to run through mod_wsgi on Apache2.22 but I'm getting an internal 500 error. I know there are other questions for this, but they don't have my specific err

Solution 1:

Most likely your mod_wsgi is compiled against one Python installation but you are trying to force it to use a different Python installation. The reason you are having a problem is because one Python installation was compiled with UCS2 support and the other UCS4.

Use 'ldd' on mod_wsgi.so to show what Python installation it is trying to use and then provide that information as part of question along with mod_wsgi configuration or WSGI script contents where you are trying to force it to use different Python installation, or incompatible virtual environment.

Post a Comment for "Django Wsgi Script Won't Load Due To A Python Issue"