-m
pip
python -m pip
It isn't necessarily the case that the command will be python, it can be both python3, python2, python3.12, etc.
When doing `pip install ...`, the command is redirected to `pyenv.d/exec/pip-rehash/pip`, which does a `pyenv rehash` after installation. A simple fix to issue #3031 is to make `python -m pip` commands go through the same special hook script.
Fixes https://github.com/yyuu/pyenv/issues/367