Skip to content

Commit

Permalink
[2.7] bpo-30964: Mention ensurepip in package installation docs (GH-2795
Browse files Browse the repository at this point in the history
)

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 b3527bf)
  • Loading branch information
NicholasKobald authored and ncoghlan committed Jul 21, 2017
1 parent 80ebc43 commit 82a77d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Doc/installing/index.rst
Expand Up @@ -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
----------------------------

Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Expand Up @@ -739,6 +739,7 @@ Kim Knapp
Lenny Kneler
Pat Knight
Jeff Knupp
Nicholas Kobald
Kubilay Kocak
Greg Kochanski
Manvisha Kodali
Expand Down

0 comments on commit 82a77d3

Please sign in to comment.