参考
阿里巴巴开源镜像站
centos7安装pip并配置国内阿里镜像源
首先安装pip前需要安装epel-release
yum -y install epel-release
安装pip
yum -y install python-pip
查看pip版本
pip --version
配置阿里镜像源(修改pip.conf)
cd ~
mkdir .pip
cd .pip
touch pip.conf
vi pip.conf
修改为以下并保存
完成
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!