fatal error: Python.h错误处理

来源:互联网 发布:VPN连接用哪个端口 编辑:程序博客网 时间:2024/05/01 18:10

报错:fatal error: Python.h: No such file or directory。


系统中没有Python.h,是因为没有安装python的开发版,即Python-devel这个包,

yum install python-devel 

即可解决这个问题。


此类问题很多,遇到是即可安装他的开发包试试,**-devel,或者**-dev包。


0 0
原创粉丝点击