Why We Need python -m pip

Running python -m pip (compare to running pip directly) can guarantee to run a version of pip with the same python version as the python command.

This is particular useful when there are multiple versions of Python installed on the system.