Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mod_wsgi installation
#1
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/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\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/dist.py:274: UserWarning: Unknown distribution option: 'bugtrack_url'
warnings.warn(msg)
Reply
#2
use pip to install
pip install mod-wsgi
Reply
#3
Hi,

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Where is mod_wsgi for Apache on Windows? jfha73 0 1,612 May-01-2020, 02:21 PM
Last Post: jfha73
  Enable error logging to browser for Python's Flask under Apache + mod_wsgi nikos 1 3,014 Sep-18-2018, 09:15 PM
Last Post: nikos

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020