1 报错内容

# pip
-bash: pip: 未找到命令

或者

- bash: pip: command not found

2 解决办法
1、如果没有epel源下载阿里的epel源

# wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

2、安装pip


# yum -y install python-pip

3 验证

# pip list

backports

标签: 安装, Linux, bash, yum, repo, pip, epel

相关文章推荐

添加新评论,含*的栏目为必填