存在的记忆 - 更换yum源
type: channel
link: https://looaon.com/index.php/tag/更换yum源/
items: 提示 psutil installation failed

提示 psutil installation failed
type: item
date: 2019-03-27T17:02:00+08:00
description: centos7 安装软件报错 psutil installation failed缺少gcc环境yum install gcc gcc-c++ gcc-g77 用yum install gcc 安装不上 显示noting to do更换yum源cd /etc/yum.repos.d 备份以下原来系统中的yum源文件wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 或curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 添加EPELwget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo 执行如下清除命令yum clean all yum makecache 再运行yum install gcc gcc-c++ gcc-g77OK，可以了