-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to build mod_wsgi using pip method on Fedora 38 workstation & RPM package #840
Comments
You don't have the Python development package installed. It needs to be installed before you can install any Python package that has a C extension component. From memory it is called Can't comment on Fedora package for mod_wsgi. Using |
from the log you don't have installed python development tools and try again |
Ok, I will try it out today or tomorrow, and comment back |
Okay it seems to work @GrahamDumpleton. There are few closing comments I want to make, feel free to close this issue afterwards.
If you are running RHEL, CentOS or Fedora, you would need both:
I propose it being added in this section atleast here on Github Overview.
However this too doesn't mention python3-devel, nor mod-wsgi. I'm assuming it install Django without mod-wsgi, and fails to inform about that. Just mentioning it, I'm adding a Edit request there as well.
Which can be avoided, if one does I guess that can be added in list of dependencies? Or just fairly mentioned in the Overview. |
Okay I'm trying to install mod_wsgi using pip method inside my virtual environment
what I have done:
also, since I'm on Fedora 38, I could just install mod_wsgi via dnf
sudo dnf install mod_wsgi -y
My question is whether the RPM package I installed for now, good enough for use with Django (what additional steps I have to be careful about here?)
my current error reads as follows:
The text was updated successfully, but these errors were encountered: