Commit 82a77d38 authored by Nicholas's avatar Nicholas Committed by Nick Coghlan

[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 b3527bfe)
parent 80ebc438
...@@ -193,6 +193,17 @@ On such systems, it is often better to use a virtual environment or a ...@@ -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``. 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 Installing binary extensions
---------------------------- ----------------------------
......
...@@ -739,6 +739,7 @@ Kim Knapp ...@@ -739,6 +739,7 @@ Kim Knapp
Lenny Kneler Lenny Kneler
Pat Knight Pat Knight
Jeff Knupp Jeff Knupp
Nicholas Kobald
Kubilay Kocak Kubilay Kocak
Greg Kochanski Greg Kochanski
Manvisha Kodali Manvisha Kodali
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment