首页 > 解决方案 > 安装 wsgi_module debian

问题描述

我无法使用 pip 安装 wsgi_module。我收到以下错误。

Debian GNU/Linux 8 (jessie)
Pip 版本:pip 10.0.1 (python 3.4)

root$ pip3 install wsgi_module
Collecting wsgi_module
Using cached https://files.pythonhosted.org/packages/15/1c/decce9bf785d96d3a1b791b33f2d7b1939d916dc67868e1145ec44e5c13a/wsgi_module-4.0b4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-62ltkhsl/wsgi-module/setup.py", line 42, in <module>
    INCLUDEDIR = get_apxs_config('INCLUDEDIR')
  File "/tmp/pip-install-62ltkhsl/wsgi-module/setup.py", line 36, in get_apxs_config
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'apxs'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-62ltkhsl/wsgi-module/

标签: pythonpipwsgi

解决方案


推荐阅读