]> granicus.if.org Git - python/commitdiff
[2.7] bpo-30964: Mention ensurepip in package installation docs (GH-2795)
authorNicholas <nick.kobald@gmail.com>
Fri, 21 Jul 2017 06:29:44 +0000 (23:29 -0700)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 21 Jul 2017 06:29:44 +0000 (16:29 +1000)
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 b3527bfefd7a0188d43a2d7515ac6addd97a8202)

Doc/installing/index.rst
Misc/ACKS

index e5b31651672fa11fee0b410e37cb282debc5b733..cbbb88240680f7e099d796bfda84daba7cc76269 100644 (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
 ----------------------------
 
index 35c77b67a6c8ae9c6a4c9fbf505bdb29322d2ae4..662db9f40f7826f4a798b36119c2f8591dadc935 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -739,6 +739,7 @@ Kim Knapp
 Lenny Kneler
 Pat Knight
 Jeff Knupp
+Nicholas Kobald
 Kubilay Kocak
 Greg Kochanski
 Manvisha Kodali