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

安装问题

发表在 Linux面板2017-8-9 16:14 [复制链接] 3 1802

出现两处红色的地方
Command "/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ejolax/psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-kEIrXf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ejolax/psutil/



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.


centos7.0
使用道具 举报 只看该作者 回复
发表于 2017-8-9 16:28:50 | 显示全部楼层
重新安装一遍试试
使用道具 举报 回复 支持 反对
发表于 2017-8-9 16:29:47 | 显示全部楼层
已经重试无数遍了
使用道具 举报 回复 支持 反对
发表于 2017-8-9 16:42:10 | 显示全部楼层

那建议更换成centos7.2/7.3的系统重装试试
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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