Lines Matching +full:python +full:- +full:pip
1 :mod:`ensurepip` --- Bootstrapping the ``pip`` installer
5 :synopsis: Bootstrapping the ``pip`` installer into an existing Python
10 The :mod:`ensurepip` package provides support for bootstrapping the ``pip``
11 installer into an existing Python installation or virtual environment. This
12 bootstrapping approach reflects the fact that ``pip`` is an independent
17 In most cases, end users of Python shouldn't need to invoke this module
18 directly (as ``pip`` should be bootstrapped by default), but it may be
19 needed if installing ``pip`` was skipped when installing Python (or
20 when creating a virtual environment) or after explicitly uninstalling ``pip``.
25 needed to bootstrap ``pip`` are included as internal parts of the
30 :ref:`installing-index`
31 The end user guide for installing Python packages
33 :pep:`453`: Explicit bootstrapping of pip in Python installations
36 :pep:`477`: Backport ensurepip (PEP 453) to Python 2.7
37 The rationale and specification for backporting PEP 453 to Python 2.7.
41 ----------------------
43 The command line interface is invoked using the interpreter's ``-m`` switch.
47 python -m ensurepip
49 This invocation will install ``pip`` if it is not already installed,
50 but otherwise does nothing. To ensure the installed version of ``pip``
52 ``--upgrade`` option::
54 python -m ensurepip --upgrade
56 By default, ``pip`` is installed into the current virtual environment
61 * ``--root <dir>``: Installs ``pip`` relative to the given root directory
63 or the default root for the current Python installation.
64 * ``--user``: Installs ``pip`` into the user site packages directory rather
65 than globally for the current Python installation (this option is not
68 By default, the scripts ``pip``, ``pipX``, and ``pipX.Y`` will be installed
69 (where X.Y stands for the version of Python used to invoke ``ensurepip``). The
73 * ``--altinstall``: if an alternate installation is requested, the ``pip`` and
76 * ``--no-default-pip``: if a non-default installation is request, the ``pip``
80 The exit status is non-zero if the command fails.
84 ----------
90 Returns a string specifying the bundled version of pip that will be
97 Bootstraps ``pip`` into the current or designated environment.
104 of an earlier version of ``pip`` to the bundled version.
109 By default, the scripts ``pip``, ``pipX``, and ``pipX.Y`` will be installed
110 (where X.Y stands for the current version of Python).
112 If *altinstall* is set, then ``pip`` and ``pipX`` will *not* be installed.
114 If *default_pip* is set to ``False``, then ``pip`` will *not* be installed.
131 ``pip``, but other software should not assume those dependencies will
133 future version of ``pip``).