首页 > 代码库 > (诊断)处理错误fatal error: Python.h: No such file or directory

(诊断)处理错误fatal error: Python.h: No such file or directory

  安装与Python版本对应的 python-dev 即可,比如:

$ sudo apt-get install python2.7-dev

 

(诊断)处理错误fatal error: Python.h: No such file or directory