当前位置:论坛首页 > Linux面板 > 求助

安装宝塔失败啊提示psutil installation failed.

发表在 Linux面板2018-3-29 11:21 [复制链接] 1 2999

sutil/_psutil_linux.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:192: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:377: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:435: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:484: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
psutil/_psutil_linux.c:545: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PsutilMethods’
psutil/_psutil_linux.c:584: error: expected specifier-qualifier-list before ‘PyObject’
psutil/_psutil_linux.c: In function ‘init_psutil_linux’:
psutil/_psutil_linux.c:630: error: ‘PyObject’ undeclared (first use in this function)
psutil/_psutil_linux.c:630: error: (Each undeclared identifier is reported only once
psutil/_psutil_linux.c:630: error: for each function it appears in.)
psutil/_psutil_linux.c:630: error: ‘v’ undeclared (first use in this function)
psutil/_psutil_linux.c:634: error: ‘module’ undeclared (first use in this function)
psutil/_psutil_linux.c:634: warning: implicit declaration of function ‘Py_InitModule’
psutil/_psutil_linux.c:634: error: ‘PsutilMethods’ undeclared (first use in this function)
psutil/_psutil_linux.c:637: warning: implicit declaration of function ‘PyModule_AddIntConstant’
error: command 'gcc' failed with exit status 1
=================================================
psutil installation failed.












看了论坛说缺少gcc 我安装yum install gcc 显示noting to do。。。。求高手


使用道具 举报 只看该作者 回复
发表于 2018-3-29 11:29:39 | 显示全部楼层
centos6.8版本
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表