install pip
To install pip, securely download get-pip.py. [1]:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
As when running any script downloaded from the web, ensure that you have reviewed the code and are happy that it works as you expect. Then run the following:
python get-pip.py
相关文档配置
https://pip.pypa.io/en/stable/installing/

使用yum安装pip

使用yum安装pip
因为测试环境搭建的需要,现在要在centos7系统上使用pip
原文地址 https://www.cnblogs.com/ermao0423/p/9596617.html
1、安装epel扩展源:yum -y install epel-release

2、安装pip:yum -y install python-pip

3、清除cache:yum clean all

4、例如:使用pip安装docker-compose:pip install docker-compose

5、升级pip:pip install –upgrade pip

标签: 随笔

文档更新时间: 2020-03-21 03:14   作者:月影鹏鹏