I tried ./configure for mod_wsgi 4.5.3 like below:
./configure --with-python=/opt/Python352/bin
Where /opt/Python352 folder is installed with python3.5.2.
However in CentOS 7 the "configure" always builds the mod_wsgi with binary "python"(corresponding to python2.75) not with binary "python3" or "python3.5".
Requirement is to get the .so file, the latest for mod_wsgi 4.5.3, compiled using python3.5.2 and load this in Apache/2.4.6 under CentOS 7.
Thanks.
Here's an exact dump of what I use for CentOS 7.2. You can probably do without a lot of the pre-reqs, but I figured I'd include them since many are handy to have:
I couldn't see an obvious problem with your question given the information, but figured a complete working example would help.