1, the installation epel-release
[root@localhost ~]# yum -y install epel-release
2, mounting python-pip
[root@localhost ~]# yum -y install python-pip
3, upgrade pip
[root@localhost ~]# pip install --upgrade pip
4, check the version pip
[root@localhost ~]# pip --version
5, the source modification pip
[root @ localhost ~] # cd ~ # home directory [root @ localhost ~] # mkdir .pip # .pip create the directory [root @ localhost ~ ] # cd .pip [root @ localhost .pip] # Touch pip.conf # create pip.conf configuration file [root @ localhost the .pip] # vi pip.conf # increase in the configuration file the following [, Ltd. Free Join] index -url = HTTP: // pypi.douban.com/simple [ install ] Trusted - = Host pypi.douban.com # configuration file is saved