I ran into this same issue when I attempted to install the novaNova client (as root).
python setup.py install Output:
running install /usr/bin/python: No module named pip error: /usr/bin/python -m pip.__init__ install 'pbr>=0.5.21,<1.0' 'iso8601>=0.1.4' 'PrettyTable>=0.6,<0.8' 'requests>=1.1' 'simplejson>=2.0.9' 'six' 'Babel>=0.9.6' returned 1 I use Homebrew, so I worked around the issue with sudo easy_install pip.
brew search pip Output:
aespipe brew-pip lesspipe pipebench pipemeter spiped pipeviewer If you meant "pip" precisely: Homebrew provides pip via: `brew install python`. However you will then have two Pythons installed on your Mac, so alternatively you can: sudo easy_install pip spencers-macbook-pro:python-novaclient And:
sudo easy_install pip The commands should be similar if you use MacPorts.