
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.
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.