[Answer]-Invalid syntax with conditional expressions

1👍

It would appear your mod_wsgi is compiled for and uses Python 2.4. You cannot take a mod_wsgi built for one Python version and force it to use a runtime installation for a different version. Go check the state of the your mod_wsgi and what it is compiled for.

Leave a comment