1、安装epel源yum install -y epel-release

2、yum -y install python-pip python-wheel

3、使用源码编译安装curl bootstrap.pypa.io/get-pip.py -o get颍骈城茇-pip.py

4、python get-pip.py

5、pip安装软件pip install redis

6、pip卸载软件pip uninstall redis

7、pip默认使用国外源,相对较慢,可采用以下方式切换为国内源

1、安装epel源yum install -y epel-release
2、yum -y install python-pip python-wheel
3、使用源码编译安装curl bootstrap.pypa.io/get-pip.py -o get颍骈城茇-pip.py
4、python get-pip.py
5、pip安装软件pip install redis
6、pip卸载软件pip uninstall redis
7、pip默认使用国外源,相对较慢,可采用以下方式切换为国内源