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?
pip is a python package manager. It will only install python modules/packages. yum is the old Fedora/RedHat installation tool that installs RPMs and does dependency resolution for you.
This error usually means there's a problem with the Python installation or the system variable PATH is not set up correctly. Try reinstalling Python and all its components to fix the problem. The easiest way is via the Python executable installer.
PIP is a package manager for Python packages, or modules if you like. Note: If you have Python version 3.4 or later, PIP is included by default.
If you install the python-pip
package and then run:
pip-python install -U pip
pip will fix itself.
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With