I'm trying to wrap my head around configuring Apache2 to run my Django project which runs by using conda. After switching recently from venv the goal is to run multiple projects with their own environments.
So far so good and there are multiple tutorials how to set this up.
What I do not understand is the relationship between the different python versions and mod_wsgi. I can compile mod_wsgi either on the system or in a conda env, but then it will always be tied to a specific version.
Does that mean I have to have all my conda envs run the same python version? Or is it possible to create multiple mod_wsgi modules for every desired python version?
Thank you for your help.
apache loads 1 mod_wsgi at startup which is built for/with one specific python version. There is various blocking effects/errors if you mix mod_wsgi with wrong python version. But it is no problem to configure virtual host with different envs ... but with same python version!!