Skip to content

Instantly share code, notes, and snippets.

@gildas
Last active February 14, 2021 16:43
Show Gist options
  • Save gildas/351af1ee2e64163f6d29 to your computer and use it in GitHub Desktop.
Save gildas/351af1ee2e64163f6d29 to your computer and use it in GitHub Desktop.
Install Openstack client on Mac OS/X
# The cleanest way is to not use the system python at all (like rbenv for Ruby)
brew install python
pip2 install --upgrade pip setuptools
pip2 install --upgrade python-openstackclient
@rbur004
Copy link

rbur004 commented May 14, 2018

If your /usr/local has other things in it, other than stuff installed by brew, but aware that brew changes the ownership of /usr/local/* to the user who installed brew. That broke some suid software installed on my Mac, and also opens up /usr/local to easy alteration.

I ended up removing brew, setting /usr/local back to the correct ownership, and installed the latest python2 from source.

@davidlandais
Copy link

If you don't have pip2, try pip3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment