报错: error: command ‘gcc‘ failed with exit status 1

报错信息:

psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory
#include
^
compilation terminated.
error: command ‘gcc’ failed with exit status 1

#yum install python-devel -y
yum -y install python3-devel

你可能感兴趣的:(报错: error: command ‘gcc‘ failed with exit status 1)