<font size=2 face="sans-serif">I naively ported my Django app to Python
3 and didn't realize WSGI was going to be an issue. &nbsp;I saw python3-django
was available for Fedora 20 and thought I was all set until I saw in my
httpd logs that python2.7 seems to be the assumed default for mod_wsgi.
&nbsp;After reading the README and more, I see the writing on the wall:</font>
<br>
<br><font size=2 face="sans-serif">&quot;&quot;&quot;</font>
<br><font size=2 face="sans-serif">If you have multiple versions of Python
installed and you are not using</font>
<br><font size=2 face="sans-serif">that which is the default, you may have
to organise that the PATH inherited</font>
<br><font size=2 face="sans-serif">by the Apache application when run will
result in Apache finding the</font>
<br><font size=2 face="sans-serif">alternate version. Alternatively, the
WSGIPythonHome directive should</font>
<br><font size=2 face="sans-serif">be used to specify the exact location
of the Python installation</font>
<br><font size=2 face="sans-serif">corresponding to the version of Python
compiled against. If this is not</font>
<br><font size=2 face="sans-serif">done, the version of Python running
within Apache may attempt to use the</font>
<br><font size=2 face="sans-serif">Python modules from the wrong version
of Python.</font>
<br><font size=2 face="sans-serif">&quot;&quot;&quot;</font>
<br>
<br><font size=2 face="sans-serif">I take this to mean that merely fiddling
with WSGIPythonHome alone will be insufficient and that I would need to
recompile the package. &nbsp;Is that correct, or did I miss a Python3-specific
mod_wsgi package or some other neater solution? &nbsp;If I am truly forced
to recompile -- as reversing the Python 3 is really undesirable at this
point -- is there any reason Fedora couldn't have two mod_wsgi packages
(one for Python2 and another for Python3)?</font>
<br><font size=2 face="sans-serif"><br>
--<br>
John Florian</font>
<br>
<br>