]> granicus.if.org Git - python/commitdiff
[3.6] bpo-30964: Mention ensurepip in package installation docs (GH-2797)
authorNicholas <nick.kobald@gmail.com>
Fri, 21 Jul 2017 06:44:43 +0000 (23:44 -0700)
committerNick Coghlan <ncoghlan@gmail.com>
Fri, 21 Jul 2017 06:44:43 +0000 (16:44 +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 b22465df2910eb0f2affa9cc06ad5b422e6f2fe2..09bb8251c35d58cd63a01eee50d81eb7cf60b076 100644 (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
 ----------------------------
 
index 940e07e6d6e6679245fa26e8b931a2d2c7298c11..f4ccdb88cdc962e18a86c145dc872238b409b271 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -802,6 +802,7 @@ Kim Knapp
 Lenny Kneler
 Pat Knight
 Jeff Knupp
+Nicholas Kobald
 Kubilay Kocak
 Greg Kochanski
 Manvisha Kodali