Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install pip for python 2.6?

I tried following the instructions from this answer but easy_install-2.6 could not find pip:

>sudo easy_install-2.6 pip
Processing pip
error: Not a recognized archive type: pip

How do I install pip for python 2.6?

My root need for pip for 2.6 is explained in this thread.

like image 660
amphibient Avatar asked Sep 11 '25 05:09

amphibient


1 Answers

Just follow the instructions here:

  1. Securely download get-pip.py (this is the 2.6-specific file, link from Ricardo Iramar's answer).

  2. In the directory you saved get-pip.py, run

     sudo python2.6 get-pip.py
    

    and you'll be all set.

This will install pip for Python 2.6, and won't touch your version 2.7 installation.

like image 171
MattDMo Avatar answered Sep 12 '25 18:09

MattDMo