.. _spkg_pip:

pip: Tool for installing and managing Python packages
=====================================================

Description
-----------

This package installs pip, the tool for installing and managing Python
packages, such as those found in the Python Package Index. It’s a
replacement for easy_install.

License
-------

MIT


Upstream Contact
----------------

- Project Page: https://github.com/pypa/pip
- Install howto: https://pip.pypa.io/en/latest/installing.html
- Changelog: https://pip.pypa.io/en/latest/news.html
- Bug Tracking: https://github.com/pypa/pip/issues
- Mailing list: http://groups.google.com/group/python-virtualenv
- Docs: https://pip.pypa.io/


Type
----

standard


Dependencies
------------

- $(PYTHON)
- :ref:`spkg_setuptools`
- :ref:`spkg_wheel`

Version Information
-------------------

package-version.txt::

    22.1.2

install-requires.txt::

    pip >=21.3
    # for use of the "in-tree-build" feature, default since 21.3, by the Sage distribution


Equivalent System Packages
--------------------------

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  python-pip


conda:

.. CODE-BLOCK:: bash

    $ conda install  pip


macports:
install the following packages: py-pip

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install python3-pip


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  python3-pip


See https://repology.org/project/pip3/versions, https://repology.org/project/python:pip/versions, https://repology.org/project/python3x-pip/versions


However, these system packages will not be used for building Sage
because using Python site-packages is not supported by the Sage distribution;
see :trac:`29023`

