Now I've definitely seen customized distributions of python from package managers that have taken steps to prevent you from using pip. IIRC, the python you get from `apt-get install python` in Debian does this? I.e., it's designed to support system utilities, not as a user's general purpose python environment, and they want `apt-get` to control this environment, not pip. So they've removed pip and ensure_pip and easy_install from your core system python environment.
TLDR: In my experience, that requirement doesn't come from pip, it's your distro taking steps to prevent https://xkcd.com/1987/
1: PEP 668 https://peps.python.org/pep-0668/
2: https://packaging.python.org/en/latest/specifications/extern...
This happens on Ubuntu, Debian, Fedora and macOS (Homebrew). I'm pretty sure it's just a core part of pip these days.
or even proprietary binaries, pip install nvidia-cudnn-cu12
* Very likely to be installed already on Linux and probably Mac too.
* Doesn't require root to install. You can even have isolated installs via pyenv.
* I don't have to ask anyone's permission to publish a package.
* I only have to make one package.
If any can think of a better option I'm all ears but until then I'm fairly happy with this hack.