Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Third iteration [<https://en.wikipedia.org/wiki/OpenStack#Compute_(Nova)>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

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.

I ran into this same issue when I attempted to install the nova 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.

I ran into this same issue when I attempted to install the Nova 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.

Second iteration. Fixed the weird syntax highlighting (as a result, the diff looks more extensive than it really is - use view "Side-by-side Markdown" to compare).
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

I ran into this same issue when I attempted to install the nova client (as root).

python setup.py install 
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 
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 
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 
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 
sudo easy_install pip 

The commands should be similar if you use MacPorts.

I ran into this same issue when I attempted to install the nova 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.

I ran into this same issue when I attempted to install the nova 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.

Active reading [<https://en.wikipedia.org/wiki/Homebrew_(package_manager)> <https://en.wikipedia.org/wiki/MacPorts>]. Added a lead. Removed the shell prompt to avoid confusion.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

I ran into this same issue when I attempted to install the nova client (as root).

spencers-macbook-pro:python-novaclient 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 homebrewHomebrew, so I worked around the issue with sudo easy_install pip.

spencers-macbook-pro:python-novaclient root# 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 root#  

And:

sudo easy_install pip 

The commands should be similar if you use macportsMacPorts.

I ran into this same issue when I attempted to install the nova client.

spencers-macbook-pro:python-novaclient root# python setup.py install  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

spencers-macbook-pro:python-novaclient root# brew search pip 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 root# sudo easy_install pip 

The commands should be similar if you use macports.

I ran into this same issue when I attempted to install the nova 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.

Source Link
spuder
  • 18.6k
  • 28
  • 101
  • 162
Loading