执行pip install uwsgi
结果报错
In file included from plugins/python/python_plugin.c:1:0:
plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
原因是缺少python3-dev
使用yum install -y python3-dev 报错
No package python3-dev available.
原因是在yum中这个包名叫python3-devel
最终执行yum install -y python3-dev pip3 install uwsgi成功安装