Pip is a tool that can replace easy_install to install and manage python packages. For details about the python packages that can be installed, refer to the Python Package Index here.
The python-pip package is provided in fedora to install pip. Unlike other systems, pip-python is used to run the package:
tiny@i ~$ yum search python-pip
======================= N/S Matched: python-pip ========================
python-pip.noarch : Pip installs packages. Python packages. An
: easy_install replacement
tiny@i ~$ sudo yum install python-pip
However, the pip command cannot be found during running. It should be considered that the package that runs the same command as pip exists. To avoid conflicts, pip-python is used:
Tiny @ I ~ $ Which pip
/Usr/bin/which: no pip in (/usr/local/bin:/usr/local/sbin:/usr/sbin: /sbin:/home/tiny /. local/bin:/home/tiny/bin)
Tiny @ I ~ $ Rpm-ql python-pip
/Usr/bin/pip-python
... (Omitted rows)
Tiny @ I ~ $ Which pip-python
/Usr/bin/pip-python
However, we can re-install pip (recursion?) Through pip without using the legendary pip ?), Then you can directly use the pip command:
tiny@i ~$ sudo pip-python install -U pip
tiny@i ~$ sudo pip install virtualenv
[sudo] password for tiny:
Requirement already satisfied (use --upgrade to upgrade): virtualenv in /usr/lib/python2.7/site-packages
Cleaning up...
Done!