Can I properly change pip-2.7 command to pip?

1

2

Basically trouble is that I have pip-2.7 command in terminal but not pip. First thought was sudo port select --list pip will help, but it doesn't even has that group

Romans-iMac:~ holms$ sudo port select --list pip
Warning: Unable to get active selected version: The specified group 'pip' does not exist.
Error: The 'list' command failed: The specified group 'pip' does not exist.

holms

Posted 2012-06-20T00:27:33.180

Reputation: 2 897

Answers

2

you can use alias:

alias pip=pip-2.7

iMom0

Posted 2012-06-20T00:27:33.180

Reputation: 331

doesn't work with sudo!!!!! – holms – 2013-11-02T23:40:12.233

1

You should be able to use port select for pip if you install

sudo port install py-pip

then

sudo port select pip pip27

Brad

Posted 2012-06-20T00:27:33.180

Reputation: 203