On 24 November 2010 02:48, jm <[email protected]> wrote: > i am having trouble running a python web app (very simple using flask) > which calls third party libraries compiled with cython. i read the > following article > > https://techknowhow.library.emory.edu/blogs/branker/2010/07/30/django-lxml-wsgi-and-python-sub-interpreter-magic > > and made the config changes and its not working
Not a bad article, although not sure about the statement: """Without this, things like Django’s model registration patterns—along with similar global systems in many other Python libraries—would leave separate applications all interfering with each other.""" Components dependent on global data would only be an issue with trying to use multiple instances within the same application. Not sure if that is what they meant or they somehow think only a single instance will have problems. > can someone please help me? Post your Apache configuration for mod_wsgi. Ensure that you use test WSGI application detailed in: http://code.google.com/p/modwsgi/wiki/CheckingYourInstallation#Sub_Interpreter_Being_Used to validate configuration is doing what you think it is and that you have actually managed to delegate WSGI application to run in main interpreter. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
