安裝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