Skip to content

Commit df5837b

Browse files
NicholasKobaldncoghlan
authored andcommitted
[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 b3527bf)
1 parent ac5c1e2 commit df5837b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Doc/installing/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,17 @@ On such systems, it is often better to use a virtual environment or a
211211
per-user installation when installing packages with ``pip``.
212212

213213

214+
Pip not installed
215+
-----------------
216+
217+
It is possible that ``pip`` does not get installed by default. One potential fix is::
218+
219+
python -m ensurepip --default-pip
220+
221+
There are also additional resources for `installing pip.
222+
<https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel>`__
223+
224+
214225
Installing binary extensions
215226
----------------------------
216227

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ Kim Knapp
802802
Lenny Kneler
803803
Pat Knight
804804
Jeff Knupp
805+
Nicholas Kobald
805806
Kubilay Kocak
806807
Greg Kochanski
807808
Manvisha Kodali

0 commit comments

Comments
 (0)