CentOS-7安装pip

首先需要安装epel-release拓展源

pip对应的python2.7
pip3ui应的python3.x

yum -y install epel-release

(1)随后,清空cache,并makecache

yum clear all
yum makecache

(2)安装pip 

yum -y install python-pip

(3)升级pip

pip install --upgrade pip
posted @ 2020-04-22 11:49  游子梦  阅读(198)  评论(0编辑  收藏  举报