红联Linux门户
Linux帮助

fatal error: Python.h错误处理

发布时间:2015-11-02 17:27:08来源:linux网站作者:酒醉东坡

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

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

即可解决这个问题。


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


Ubuntu 14.04 64bit安装IPython:http://www.linuxdiyf.com/linux/13981.html

无需操作系统直接运行Python代码:http://www.linuxdiyf.com/linux/12104.html

如何成为Python高手:http://www.linuxdiyf.com/linux/14571.html

十分钟学会Python:http://www.linuxdiyf.com/linux/14545.html

提高Python运行效率的六个窍门:http://www.linuxdiyf.com/linux/12569.html