Edit-rephrased question to be less misleading
Is there a difference between pip3 and pip2? pip2 -V
and pip3-V
both produce the output
pip 7.1.0 from /usr/lib/python2.7/site-packages (python 2.7)
Old question below
I have seen recommendations to set up a python3 virtualenv using pip3, but when I type
pip3.4 -V
I get the output
pip 7.1.0 from /usr/lib/python2.7/site-packages (python 2.7)
Which is exactly the same output I get from pip -V
and pip2 -V
. My python3 installation works fine. What's the deal? Is pip, pip2, and pip3, actually the same thing? Afterall https://pip.pypa.io/en/stable/index.html, only mentions pip. Furthermore strangely, in my /usr/bin
folder, I can see my pip3 is older than my pip3.4 binary -- which explains why pip3 -V
fails with
pkg_resources.DistributionNotFound: pip==1.5.6
So what is the deal? is the pip3 syntax redundant, or is there something wrong with my system? I use opensuse 13.2
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…