美文网首页
python的psutil安装报错

python的psutil安装报错

作者: 哆啦A梦_ca52 | 来源:发表于2020-12-11 12:05 被阅读0次

    安装宝塔的时候 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 即可

    相关文章

      网友评论

          本文标题:python的psutil安装报错

          本文链接:https://www.haomeiwen.com/subject/szljgktx.html