How to install pip for python 2.6?
Find below the steps to install pip on Python 2.6.X:
$ curl https://bootstrap.pypa.io/pip/2.6/get-pip.py -o get-pip.py
$ python get-pip.py
on fedora/centos system, just use
yum install python-pip
on other linux system,use yum-like install tool
on window ,use the other solutions under this question
Just follow the instructions here:
- Securely download
get-pip.py
(this is the 2.6-specific file, link from Ricardo Iramar's answer). In the directory you saved
get-pip.py
, runsudo 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.