[2.7] bpo-30964: Mention ensurepip in package installation docs (GH-2795)

Adds a new 'Pip not installed' section that covers
running `ensurepip` manually, and also references
the relevant section of the Python Packaging User
Guide.

(cherry picked from commit b3527bfefd)
This commit is contained in:
Nicholas 2017-07-20 23:29:44 -07:00 committed by Nick Coghlan
parent 80ebc438ed
commit 82a77d38d6
2 changed files with 12 additions and 0 deletions

View File

@ -193,6 +193,17 @@ On such systems, it is often better to use a virtual environment or a
per-user installation when installing packages with ``pip``.
Pip not installed
-----------------
It is possible that ``pip`` does not get installed by default. One potential fix is::
python -m ensurepip --default-pip
There are also additional resources for `installing pip.
<https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel>`__
Installing binary extensions
----------------------------

View File

@ -739,6 +739,7 @@ Kim Knapp
Lenny Kneler
Pat Knight
Jeff Knupp
Nicholas Kobald
Kubilay Kocak
Greg Kochanski
Manvisha Kodali