In which circumstances would one use one approach over the other? Are there downsides to both approaches?
I have seen both approaches, but I don't know, what the difference between both is and I can't seem to find an answer to that question. Are there differences in behaviour? Or is one just an evolved version of the other?
For example, here both approaches are used among all the answers.
Note: There also seem to be a quite similar question here, but this question only deals with the necessity of providing -m
when using python -m pip install <package>
, but not with the differences between the two approaches above.