目录
解决问题
解决思路
解决方法
解决问题
thriftpy2/transport/cybase.c:17:20: 致命错误:Python.h:没有那个文件或目录
#include "Python.h"
^
编译中断。
error: command 'gcc' failed with exit status 1
解决思路
缺少python开发包
解决方法
安装对应的开发包,python2对应python-devel,python3对应python3-devel。
yum install python3-devel