Posts: 354
Joined: Sat Jul 15, 2017 12:40 pm
Location: Boston MA.

pip and pip3

Fri Jan 19, 2018 12:12 am

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?

Return to “Beginners”