【发布时间】:2021-02-09 06:44:33
【问题描述】:
我正在尝试通过"pip install uWSGI==2.0.4" 安装"uWSGI==2.0.4",我已经安装了gcc 7.5.0 和 build-essentials 等。它仍然显示
以下错误:
conf = uc.uConf(get_profile())
File "uwsgiconfig.py", line 682, in __init__
raise Exception("you need a C compiler to build uWSGI")
Exception: you need a C compiler to build uWSGI
----------------------------------------
ERROR: Failed building wheel for uWSGI
操作系统:Ubuntu-18.04
Python版本:python2.7
我该如何解决这些错误?
【问题讨论】:
-
你在 uwsgi 之前安装了 gcc 吗?
标签: python-2.7 gcc pip ubuntu-18.04 uwsgi