Python Forum

Full Version: mod_wsgi installation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Encountered error upon installation the mod_wsgi.+

ERROR: Complete output from command /home/ec2-user/venv/venv/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-wlz7keh3/mod-wsgi/'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);'"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2zi94ybi --python-tag cp37:
ERROR: /usr/lib64/python3.7/distutils/ UserWarning: Unknown distribution option: 'bugtrack_url'
use pip to install
pip install mod-wsgi

use a WSGI application server like Gunicorn and Apache or nginx as reverse proxy in front of the WSGI application server instead of mod_wsgi. Easier and more flexible to setup.

Regards, noisefloor