yum install 以 "already installed and latest version" 结尾,而 "pip -V" 显示 "No such file or directory"

yum install ends with "already installed and latest version" whereas "pip -V" shows "No such file or directory"

sudo yum 安装python-pip 在这个 Redhat Linux 6 服务器上以 -

结尾
Trying other mirror.
epel                                                                                                                                                                                                                   | 5.3 kB     00:00     
http://fedora.westmancom.com/epel/6/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
Trying other mirror.
Setting up Install Process
Package python-pip-7.1.0-1.el6.noarch already installed and latest version
Nothing to do

并尝试查看版本 -

$ pip -V
-bash: /usr/bin/pip: No such file or directory

也许有人删除了二进制文件?您可以使用

检查已安装软件包的完整性
rpm -V python-pip

假设有人弄乱了安装的文件,您可以

yum reinstall python-pip