[2.7] bpo-30964: Mention ensurepip in package installation docs (GH-2… · python/cpython@82a77d3 (original) (raw)

Original file line number Diff line number Diff line change
@@ -193,6 +193,17 @@ On such systems, it is often better to use a virtual environment or a
193 193 per-user installation when installing packages with ``pip``.
194 194
195 195
196 +Pip not installed
197 +-----------------
198 +
199 +It is possible that ``pip`` does not get installed by default. One potential fix is::
200 +
201 + python -m ensurepip --default-pip
202 +
203 +There are also additional resources for `installing pip.
204 +https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel`__
205 +
206 +
196 207 Installing binary extensions
197 208 ----------------------------
198 209