src/gevent/libev/corecext.c:95:20: 致命错误:Python.h:没有那个文件或目录
#include "Python.h"
^
编译中断。
error: command 'gcc' failed with exit status 1
![](http://www.zhuangpenglong.com/wp-content/uploads/2021/01/Jietu20210119-172444-1024x556.jpg)
解决办法:
yum install python-devel # 使用python2请执行这条命令
yum install python3-devel # 使用python3请执行这条命令