python-pip yum package provides pip-python instead of pip

Belmin Fernandez picture Belmin Fernandez · Nov 8, 2010 · Viewed 18.6k times · Source

I installed python-pip package via yum (using Fedora's updates repo). It does not add the pip script to my PATH though.

$ which pip
/usr/bin/which: no pip in
                (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:
                 /usr/bin:/usr/local/sbin:/usr/sbin:/sbin)

It does, however, create pip-python:

$ rpm -ql python-pip
/usr/bin/pip-python
[...snip...]

$ which pip-python
/usr/bin/pip-python

I was considering making pip a symbolic link to pip-python but is there a reason the executable is named pip-python to begin with?

Answer

RyanBrady picture RyanBrady · May 10, 2011

If you install the python-pip package and then run:

pip-python install -U pip

pip will fix itself.