diff options
author | Nicholas <nick.kobald@gmail.com> | 2017-07-20 20:51:54 -0700 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2017-07-21 13:51:54 +1000 |
commit | b3527bfefd7a0188d43a2d7515ac6addd97a8202 (patch) | |
tree | dcb43aaf0ecfe322853a508e327a4e893f8d6efe /Doc/installing | |
parent | bpo-30822: Fix testing of datetime module. (#2530) (#2783) (diff) | |
download | cpython-b3527bfefd7a0188d43a2d7515ac6addd97a8202.tar.gz cpython-b3527bfefd7a0188d43a2d7515ac6addd97a8202.tar.bz2 cpython-b3527bfefd7a0188d43a2d7515ac6addd97a8202.zip |
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')
-rw-r--r-- | Doc/installing/index.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/installing/index.rst b/Doc/installing/index.rst index b22465df291..09bb8251c35 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 ---------------------------- |