I've inherited a web application that is running python 2.5 (/usr/local/bin/python2.5) and I would to upgrade to python 2.7. I'd like to use ordereddict (and other things) offered in Python 2.7. I have installed python 2.7 (/usr/local/bin/python2.5) and I'm trying to figure out how to use that version with my web application. I can successfully run scripts using python 2.7 version. In my web application I've tried changing the line at the top of the script to I created a new application with the settings,
When I browse to
When I check the error logs for the new_app there is the following:
So there is no errors in the error log. There is nothing interesting in the access logs for new-app. I even tried to stop the http service on the old-app (~/webapp/old-app/apache2/bin/.stop) while running the http service for the new-app. But that didn't do anything. Any help is greatly appreciated! asked 17 Feb '14, 16:27 user2743 |
You can't upgrade mod_wsgi from Python 2.5 to Python 2.7 by changing config - you have to use a mod_wsgi binary module that was built against Python 2.7. My recommendation is that you install a new mod_wsgi + Python 2.7 app via our control panel, and then deploy your code under that app. Hope that helps! answered 17 Feb '14, 22:56 seanf |