Last active
February 14, 2021 16:43
-
-
Save gildas/351af1ee2e64163f6d29 to your computer and use it in GitHub Desktop.
Install Openstack client on Mac OS/X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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.
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
if python >=2.7.13, use
pip2
instead.