我正在尝试通过"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
如何解决这些错误?
发布于 2021-04-01 20:26:45
请尝试使用不同版本的uWSGI
尝试安装以下版本
通过pip安装uWSGI==2.0.17 uwsgi==2.0.17
它对我很有效
https://stackoverflow.com/questions/66114173
复制相似问题