1👍
I didn’t found the way directly to get mod_wsgi version, however I went in root directory as root user and ran a find command.
/home//Downloads/env/lib/python3.9/site-packages/allauth
/home//gmcwebenvlin/lib/python3.9/site-packages/allauth
/home//.local/lib/python3.9/site-packages/allauth
And tried changing variable in urls.py in all packages and worked in one.
It turn out even when we specify different config file for SSL version
of website in Apache, Python home was picked up from the non-SSL version
config still.
Source:stackexchange.com