使用一键安装脚本安装失败
- es -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=513 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
- psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory
- #include <Python.h>
- ^
- compilation terminated.
- error: command 'gcc' failed with exit status 1
- =================================================
- psutil installation failed.
复制代码 |