[PYTHON] Install openstack client from pip so you don't get an error on CentOS7

Official procedure caused an error, so make a note of the successful case. By the way, I confirmed it with CentOS 7.2. For those who use a proxy, refer to here.

install pip

Install pip. Even if gcc is not included, gcc is also included.

python


$ sudo yum install python-devel python-pip gcc

pbr installation

If I forget this, I get an error like Command" python setup.py egg_info "failed with error code 1 in / tmp / pip-build-EFbty6 / positional when installing the openstack client.

python


$ sudo pip install pbr

Install Openstack Client

python


$ sudo pip install python-openstackclient

It seems that neutron is different, so network managers add neutron.

python


$ sudo pip install python-neutronclient

Version confirmation

As of September 2016, it was ver3.2.0.

$ openstack --version
openstack 3.2.0

Recommended Posts

Install openstack client from pip so you don't get an error on CentOS7
Workaround if you get an error when trying to install PySide with pip
If you get hooked on pip install dlib on OSX
I got an error when pip install pandas on Mac, so I dealt with it
I got an error when pip install tweepy on macOS Sierra, so I dealt with it
Install pip on CentOS7. Also iPython.
# Solution when pip install gives an error when using Anaconda on Windows 10
I get an error when trying to install maec 4.0.1.0 with pip
If you should have pip installed but get an Import error
I got an SSL related error with pip install, so I solved it
Install PostgreSQL from source code on CentOS
Get data files from elsewhere during pip install
Eliminates SSL error when PIP Install on Windows.
I get an error when installing scipy on t2.micro because I don't have enough memory
What to do if you get an error when vagrant up when you enable public_network or private_network on Vagrant + Arch Linux → Install netctl
A memorandum when an error occurs with pip install
When you get an error in python scraping (requests)
What to do when you get an error saying "Name resolution temporarily failed" on linux
What to do if you get an Undefined error when trying to use pip with pyenv
Install Faiss on CentOS 7
Install pip on Mavericks
EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install
Install numba on CentOS 7.2
Install Python3.4 on CentOS 6.6
Error with pip install
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
Install awscli on centos7
Install Chainer on CentOS 6.7
Install pip / pip3 on Ubuntu
What to do if you get angry if you don't have libxml / xmlversion.h when installing lxml on CentOS