bpo-30964: Mention ensurepip in package installation docs (GH-2786)

Adds a new 'Pip not installed' section that covers
running `ensurepip` manually, and also references
the relevant section of the Python Packaging User
Guide.
This commit is contained in:
Nicholas 2017-07-20 20:51:54 -07:00 committed by Nick Coghlan
parent 287c5594ed
commit b3527bfefd
2 changed files with 12 additions and 0 deletions

View File

@ -211,6 +211,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

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