Page 1 of 1

pip and pip3

Posted: Fri Jan 19, 2018 12:12 am
by tony1812
Hello, one thing I don't quit understand. I read it somewhere that when use pip command, if it is for python 2 just use pip but or python 3 use pip3.
Let take numpy for example for python it is pip install numpy, however for python3 shouldn't it be pip3 install numpy, but some other tutorial say use python3.x -m pip install numpy, why is that? How is it differ from pip3 install numpy? btw what does the -m mean?
On my stretch, should I be using python3.5 -m pip install numpy or pip3 install numpy?
Thanks.