0

I am a little bit stuck when it comes to installing pip.

Securely download get-pip.py. [2]

Then run the following (which may require administrator access), to install (or upgrade to) the latest version of pip:

$ python get-pip.py

The trouble is with this approach is it installs it to a different path than what is expected. So I have to do this:

export PATH=$PATH:/usr/local/bin

Is there a way to install it with that path, or alternatively can I do something like this:

/user/local/bin/pip install supervisor

Finally, is this better than installing pip with either:

  • apt-get install python-pip
  • easy-install pip
Jimmy
  • 269
  • 4
  • 7
  • 23

1 Answers1

1
$ apt-get install python-pip

That's the one you want.

Unless your requirements dictate otherwise, always use your distribution's packages.

EEAA
  • 109,363
  • 18
  • 175
  • 245