summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorNicholas <nick.kobald@gmail.com>2017-07-21 06:44:43 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2017-07-21 06:44:43 (GMT)
commitdf5837b5a916aac645087ae02c44e88ff77024ef (patch)
tree861837e5cbdb8659b23babe951e56a1d90d33fc5 /Doc
parentac5c1e2ea311d11714f89476c86936f9388d19a4 (diff)
downloadcpython-df5837b5a916aac645087ae02c44e88ff77024ef.zip
cpython-df5837b5a916aac645087ae02c44e88ff77024ef.tar.gz
cpython-df5837b5a916aac645087ae02c44e88ff77024ef.tar.bz2
[3.6] bpo-30964: Mention ensurepip in package installation docs (GH-2797)
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)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/installing/index.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/installing/index.rst b/Doc/installing/index.rst
index b22465d..09bb825 100644
--- a/Doc/installing/index.rst
+++ b/Doc/installing/index.rst
@@ -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
----------------------------