安装psutil时提示缺少python.h头文件(作记录)
yum -y install python-devel [collapse status=“false” title=“引用”] 通过pip或者源码安装psutil,都会提示缺少python.h头文件,错误提示如下: psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory #include Python.h> ^ compilation terminated. error: command 'gcc' failed
