4 points by stip in: 7 months ago | 2 comments


 
2 points by Type 7 months ago | discuss | on: Why you should use `python -m pip`
So in short, you should use `python -m pip` if you have more than one version of Python installed.
 
2 points by intrepidhero 7 months ago | discuss | on: Why you should use `python -m pip`
I didn't find the author's argument particularly compelling. In general, if `python` refers to the interpreter I'm using right now, whether that's a virtualenv or the system python, then `pip` refers to the version of the script in the same folder as python. If I have any doubt, `pip --version` tells me which version and interpreter it's running against.