Python Forum
mod_wsgi installation - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/Forum-Python-Coding)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/Forum-Web-Scraping-Web-Development)
+--- Thread: mod_wsgi installation (/Thread-mod-wsgi-installation)



mod_wsgi installation - Code05 - Jun-14-2019

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)


RE: mod_wsgi installation - Larz60+ - Jun-14-2019

use pip to install
pip install mod-wsgi



RE: mod_wsgi installation - noisefloor - Jun-14-2019

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