what does `python -m pip install` do?

Viewed 148

I have recently encountered a repo which has instructions to install the requirements via:

python -m pip install -r ..

I have always used just:

pip3 install -r ..

What is the difference between the two? Which is correct (if there is such a thing)?

1 Answers

They are basically synonymous; on some platforms the latter won't always work for various reasons.

Related