User Guide - pip documentation v21.3.1
https://pip.pypa.io/en/stable/user_guideWhen you install pip, a pip command is added to your system, which can be run from the command prompt as follows: Unix/macOS python -m pip <pip arguments> python -m pip executes pip using the Python interpreter you specified as python. So /usr/bin/python3.7 -m pip means you are executing pip for your interpreter located at /usr/bin/python3.7.