I have several python2 flask wsgi based web applications running happily on a server under apache. I am converting them one at a time to python3.
I see from https://github.com/GrahamDumpleton/mod_wsgi/issues/21 that mod_wsgi doesn't like running under two different versions of python, but there are hints that possibly mod_wsgi-express can be used somehow under a virtual environment. https://pypi.org/project/mod-wsgi/ - Installation into Python suggests pip install mod_wsgi-standalone will make mod_wsgi-express available as well as a separate apache installation "installed into my Python distribution", which I assume means the virtual environment. https://pypi.org/project/mod-wsgi/ refers to the "main mod_wsgi documentation" for more details on mod_wsgi-express, which I assume means https://modwsgi.readthedocs.io/en/develop/index.html. But https://modwsgi.readthedocs.io/en/develop/getting-started.html refers back to https://pypi.python.org/pypi/mod_wsgi for details on mod_wsgi-express. - Maybe this is linux 101, but is there any way to run the virtual environment's mod_wsgi-express as a daemon, so it's available for my python3 wsgi application? - And if so how do I set up the apache vhost file to find it? Or if this just can't be done, can someone another way I can run my python3 flask applications under apache in parallel with the python2 mod_wsgi applications? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/c653171b-c793-4628-8769-72c7af889419%40googlegroups.com.
