I've been trying to get this to work, and have searched everywhere and read page up and page down, but doesn't seem to find an answer.
I have Apache with mod_wsgi and a simple test Flask application.
I got it working using this: https://www.jakowicz.com/flask-apache-wsgi/
Then I somehow found that Apache mod_wsgi used the system python and I want to use venv (https://docs.python.org/3/library/venv.html).
My application is in a directory with the normal directory structure of the venv, but how do I get my application to use that?
I found this: http://blog.dscpl.com.au/2014/09/using-python-virtual-environments-with.html
But if I put in python-home my application fails.
A couple of questions: How do I find the Python version that my app is using? How do I find my mod_wsgi version? How do I get my app to use my venv?
I'm new to Python and WSGI, I have mostly worked with PHP.
Hope someone can explain to me what to do...
-- Ronni