When installing a package via sudo pip-python (CentOS 6 package: python-pip-0.8-1.el6.noarch), I sometimes get permission issues with the installed pac
sudo pip-python
python-pip-0.8-1.el6.noarch
If executing pip with sudo, you may want sudo's -H flag
-H, --set-home set HOME variable to target user's home dir
e.g
sudo -H pip install virtualenv