python - 安装 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/
解决方案
推荐阅读
- node.js - 如何在不同时期重试操作?
- xaml - Xamarin 表单在 android 和 iOS 中查看差异
- r - 如何在ggplot2中按顺序组织散点?
- java - jaxb 绑定定义 - 不支持的绑定命名空间“http://java.sun.com/xml/ns/jaxb
- outlook - 如何为 bitbucket、jira、团队、员工前景提供相同的凭据?
- javascript - $lookup mongodb 根据输入字段 nodejs 从两个集合中获取数据
- angular - Angular 11 Typeahead 自动完成:在搜索栏上选择用户名时如何获取用户 ID
- gfortran - gfortran 编译命令在存在名为“as”的可执行文件时失败
- android - 模拟器:尝试在 eip 处执行 vcpu:8d684f
- laravel - 验证通过后验证自定义规则