安装python-pip工具python
[root@localhost ~]# yum -y install python-pip
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* epel: mirrors.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
正在解决依赖关系
--> 正在检查事务
---> 软件包 python-pip.noarch.0.1.5.6-5.el7 将被 安装
--> 解决依赖关系完成web
依赖关系解决docker
===========================================================================================
Package 架构 版本 源 大小
===========================================================================================
正在安装:
python-pip noarch 1.5.6-5.el7 epel 1.3 Mcentos
事务概要
===========================================================================================
安装 1 软件包websocket
总下载量:1.3 M
安装大小:5.9 M
Downloading packages:
python-pip-1.5.6-5.el7.noarch.rpm | 1.3 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 pythonpip-1.5.6-5.el7.noarch 1/1
验证中 : python-pip-1.5.6-5.el7.noarch 1/1架构
已安装:
python-pip.noarch 0:1.5.6-5.el7 python2.7
完毕!socket
2.安装figide
[root@localhost ~]# pip install -U fig
Requirement already up-to-date: fig in /usr/lib/python2.7/site-packages
Requirement already up-to-date: docopt>=0.6.1,<0.7 in /usr/lib/python2.7/site-packages (from fig)
Requirement already up-to-date: PyYAML>=3.10,<4 in /usr/lib64/python2.7/site-packages (from fig)
Requirement already up-to-date: requests>=2.2.1,<3 in /usr/lib/python2.7/site-packages (from fig)
Requirement already up-to-date: texttable>=0.8.1,<0.9 in /usr/lib/python2.7/site-packages (from fig)
Requirement already up-to-date: websocket-client>=0.11.0,<0.12 in /usr/lib/python2.7/site-packages (from fig)
Requirement already up-to-date: docker-py>=0.5.3,<0.6 in /usr/lib/python2.7/site-packages (from fig)
Requirement already up-to-date: dockerpty>=0.3.2,<0.4 in /usr/lib/python2.7/site-packages (from fig)
Requirement already up-to-date: six>=1.3.0,<2 in /usr/lib/python2.7/site-packages (from fig)
Cleaning up...工具
3.查看fig是否安装成功
[root@localhost ~]# fig --versionfig 1.0.1