Skip to content

Commit b3527bf

Browse files
NicholasKobaldncoghlan
authored andcommitted
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.
1 parent 287c559 commit b3527bf

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
@@ -809,6 +809,7 @@ Kim Knapp
809809
Lenny Kneler
810810
Pat Knight
811811
Jeff Knupp
812+
Nicholas Kobald
812813
Kubilay Kocak
813814
Greg Kochanski
814815
Manvisha Kodali

0 commit comments

Comments
 (0)