mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
287c5594ed
commit
b3527bfefd
|
@ -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
|
||||
----------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue