Blogger Information
Blog 29
fans 0
comment 0
visits 24612
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
centos7安装pip并配置国内阿里镜像源
easy
Original
1270 people have browsed it

参考

阿里巴巴开源镜像站

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

修改为以下并保存

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com


 

完成


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!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post