yum 安装 pip2
步骤
#1. Enable the EPEL repository
参考 blog.csdn.net/xys2015/article/details/109378741 (迅速应用阿里云YUM在线仓库)
#2. 安装
yum install python-pip
yum install python-wheel
#3. 更新到最新
python -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple/
相关冗余信息
#1. setuptools
https://pypi.org/project/setuptools/32.3.1/#files
https://files.pythonhosted.org/packages/e8/68/f968ebc015c7e0021e76b60b8cfd29f9ffbae4b3b58d96ad20045a99562e/setuptools-32.3.1.zip
unzip setuptools-32.3.1.zip
cd setuptools-32.3.1
python setup.py install
#2. pip
https://pypi.org/project/pip/8.1.2/#files
https://files.pythonhosted.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz
tar xf pip-8.1.2.tar.gz
cd pip-8.1.2
python setup.py install