之前用命令可以安装

  • yum -y install git
  • yum -y install python-setuptools && easy_install pip复制代码

现在提示错误,如下,怎么破 ?

  • [root@192 ~]# yum -y install python-setuptools
  • Loaded plugins: fastestmirror
  • Setting up Install Process
  • Loading mirror speeds from cached hostfile
  • * base: mirrors.cat.pdx.edu
  • * extras: repo1.dal.innoscale.net
  • * updates: mirror.sjc02.svwh.net
  • Package python-setuptools-0.6.10-3.el6.noarch already installed and latest version
  • Nothing to do
  • [root@192 ~]# easy_install pip
  • Searching for pip
  • Reading http://pypi.python.org/simple/pip/
  • Couldn't find index page for 'pip' (maybe misspelled?)
  • Scanning index of all packages (this may take a while)
  • Reading http://pypi.python.org/simple/
  • No local packages or download links found for pip
  • error: Could not find suitable distribution for Requirement.parse('pip')
  • [root@192 ~]#
  • 复制代码