As the title says, is there a way to change the default pip to pip2.7
When I run sudo which pip
, I get /usr/local/bin/pip
When I run sudo pip -V
, I get pip 1.5.6 from /usr/lib/python3/dist-packages (python 3.4)
If there is no problem at all with this mixed version, please do tell. If there is a problem with downloading dependencies from different pip versions, how can I change to pip2.7?
I know I can pip2.7 install somePackage
but I don't like it. I feel I could forget to do this at any point.
Other info: Ubuntu 15.10
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…