Django/mod_wsgi/Apache – mod_wsgi is not using the Python version it was compiled for – "ModuleNotFoundError: No module named 'math' "
I'm attempting to deploy a Django application with Apache2 and mod_wsgi on a Ubuntu 16.04.6 server, but I'm struggling with getting mod_wsgi to use the correct python version. I installed mod_wsgi from source, and configured it to compile against the…