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

前端 未结 3 433
离开以前
离开以前 2021-02-01 06:49

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

相关标签:
3条回答
  • 2021-02-01 07:18

    It is probably to avoid a conflict with another package that has an executable called pip. As long as you don't install that package, you should be safe.

    Another annoying example of this is the chromium browser, which my distro's executable is chromium-browser to avoid a conflict with some game I had never heard of until I did an: apt-get install chromium.

    0 讨论(0)
  • 2021-02-01 07:23

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

    pip-python install -U pip
    

    pip will fix itself.

    0 讨论(0)
  • 2021-02-01 07:24

    This used to be the case on Fedora, due to the conflict noted with the perl-pip package. With the gracious consent of the perl-pip packager, this has been updated in recent versions, so installing pip-python on Fedora 17 or later now installs /usr/bin/pip

    See https://bugzilla.redhat.com/show_bug.cgi?id=958377 for details.

    0 讨论(0)
提交回复
热议问题