Why not just do sudo easy_install pip
or if this is for python 2.6 sudo easy_install-2.6 pip
?
This installs pip using the default python package installer system and saves you the hassle of manual set-up all at the same time.
This will allow you to then run the pip
command for python package installation as it will be installed with the system python. I also recommend once you have pip using the virtualenv package and pattern. 🙂