uwsgi==2.0.18的requertments.txt mod-wsgi==4.6.5的requertments.txt

来源:2-3 优先使用自定义的用户模型

慕姐7027134

2020-05-23

pip3 install -r requertments.txt
uwsgi2.0.18的requertments.txt成功
mod-wsgi4.6.5的requertments.txt失败 安装报错如下:
|████████████████████████████████| 490 kB 19.7 MB/s
ERROR: Command errored out with exit status 1:
command: /home/zanhu/venv2/bin/python -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-e3gu8swt/mod-wsgi/setup.py’"’"’; file=’"’"’/tmp/pip-install-e3gu8swt/mod-wsgi/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base /tmp/pip-pip-egg-info-hujfl_ol
cwd: /tmp/pip-install-e3gu8swt/mod-wsgi/
Complete output (5 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-e3gu8swt/mod-wsgi/setup.py”, line 168, in
‘missing Apache httpd server packages.’ % APXS)
RuntimeError: The ‘apxs’ command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check th

图片描述

写回答

1回答

Jack

2020-05-24

0
0

Django高级实战 开发企业级问答网站

融合Django高级用法/算法/设计模式/TestCase测试/云计算打造项目

900 学习 · 756 问题

查看课程