You seem to have multiple installs conflicting with each other. Would suggest ensuring you uninstall all the mod_wsgi versions installed in different ways.
Once that is done, create a Python virtual environment instead, activate it and pip install mod_wsgi into that. Don't install into system Python or per user Python. When have cleaned up and removed existing installs and tried the virtual environment method come back and indicate what problem you have at that point. Graham > On 8 Jun 2021, at 10:57 am, Bob Bobsled <[email protected]> wrote: > > Hello Graham, > > I have tried unsuccessfully to get mod-wsgi working for Django, and httpd on > fedora34. > > I tried the CMMI method first, downloading/configuring/make/install, but the > instructions give out at the point of knowing what to do after getting the > module into etc/httpd/modules. I'm stuck figuring out how to continue with > where to place a .config file and how to fiddle with vhosts etc. > > So I moved on to dnf install python3-mod_wsgi, but that seems to be an older > version and doesn't have the niceties of mod_wsgi-express. > > Then I tried, as root, pip3 install mod_wsgi, but that seems to bugger the > permissions. > > Fourth try was as user pip3 install --user mod_wsgi but it seems to put > everything in odd places. > For ex. mod_wsgi-express winds up in .local/bin, instead of usr/bin, but > nevertheless when I run it from .loca/bin with the install-module directive I > get permission denied on > /usr/lib64/modules/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so > <http://mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so/> > > I'd be really grateful for some advice on the best way to get it working in > fedora34. I'm glad to try anyway you might suggest. > > Regards, > Bob > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/CALWZDaN7J95EeTVJdty1wobGZ44X_q2utuJv%3DnmXEzVgqNhZQQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/modwsgi/CALWZDaN7J95EeTVJdty1wobGZ44X_q2utuJv%3DnmXEzVgqNhZQQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/FD746244-F6E1-444D-9835-298914C02712%40gmail.com.
