ensurepip

A standard library module that installs pip into a Python that lacks it.

In more detail

python3 -m ensurepip bootstraps pip from a copy bundled with Python, without the internet. Some Linux distributions remove it and ask you to install python3-pip instead.

Related terms

Taught in

References