[2.7] bpo-30964: Mention ensurepip in package installation docs (GH-2795)
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 b3527bfefd
)
This commit is contained in:
parent
80ebc438ed
commit
82a77d38d6
|
@ -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
|
||||
----------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue