plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

装一台新服务器环境的时候,装uwsgi报错:

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory
 #include <Python.h>

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

查了一下解决办法:

yum install python-devel.x86_64

 

之后再运行安装,问题解决。

上一篇:解决 src/MD2.c:31:20: fatal error: Python.h: No such file or directory安装包错误


下一篇:JDK,JRE,JVM区别与联系(转)