安装宝塔的时候 python报错 更新下Python即可
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
image.png
安装宝塔时候报错 这个错误时候说pythone有错误 要升级
yum -y install python-devel.x86_64 yum安装pythone报错
image.png
运行:rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 即可
网友评论