I am tring to install openstack client on Centos 7 virtual machines over pip via this command:
pip install python-openstackclient
At the end of installation I receive this error:
Command "/usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-noqgbvv4/netifaces/setup.py';f=getattr(tokenize, 'open', open)(_file_);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, _file_, 'exec'))" install --record /tmp/pip-eyssu5xp-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-noqgbvv4/netifaces/
Could anybody help me and explain me where is the problem, because the error message is not very clear for me.
I installed openstack client on my personal PC with kubuntu and it works without any problem.
Edit: I run pip with --log option. This is last exception
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3.4/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/usr/lib/python3.4/site-packages/pip/req/req_install.py", line 878, in install
spinner=spinner,
File "/usr/lib/python3.4/site-packages/pip/utils/__init__.py", line 707, in call_subprocess
% (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-07sbmmn8/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-u60jwjmb-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-07sbmmn8/netifaces/
$HOME/.pip/pip.log
? – I_GNU_it_all_along Jan 4 '18 at 14:23pip install --upgrade pip
but pip is already up-to-date. – dorinand Jan 4 '18 at 14:32.pip/
– I_GNU_it_all_along Jan 4 '18 at 14:35--log
switch. – I_GNU_it_all_along Jan 4 '18 at 14:36