summaryrefslogtreecommitdiffstats
path: root/Doc/installing/index.rst
diff options
context:
space:
mode:
authorNicholas <nick.kobald@gmail.com>2017-07-21 03:51:54 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2017-07-21 03:51:54 (GMT)
commitb3527bfefd7a0188d43a2d7515ac6addd97a8202 (patch)
treedcb43aaf0ecfe322853a508e327a4e893f8d6efe /Doc/installing/index.rst
parent287c5594edc1ca08db64d1f4739cc36bfe75ae75 (diff)
downloadcpython-b3527bfefd7a0188d43a2d7515ac6addd97a8202.zip
cpython-b3527bfefd7a0188d43a2d7515ac6addd97a8202.tar.gz
cpython-b3527bfefd7a0188d43a2d7515ac6addd97a8202.tar.bz2
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.
Diffstat (limited to 'Doc/installing/index.rst')
-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
----------------------------