I'm trying to configure mod_wsgi with apache in a virtual environment by applying the command (pip install mod_wsgi-standalone) as per the
Building wheel for mod-wsgi-standalone (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/joao/.virtualenvs/kws/bin/python /home/joao/.virtualenvs/kws/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpj81kyrf1
cwd: /tmp/pip-install-zpx12xpg/mod-wsgi-standalone_fb9012f935524a77bd05f034639de925
Complete output (181 lines):
WARNING: The Python installation you are using does not appear to have
been installed with a shared library, or in the case of MacOS X, as a
framework. Where these are not present, the compilation of mod_wsgi may
fail, or if it does succeed, will result in extra memory being used by
all processes at run time as a result of the static library needing to
be loaded in its entirety to every process. It is highly recommended
that you reinstall the Python installation being used from source code,
supplying the '--enable-shared' option to the 'configure' script when
configuring the source code prior to building and installing it . . .