-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Received the following when running 'sudo -H pip3 install virt-backup'
Building wheels for collected packages: virt-backup, libvirt-python
Running setup.py bdist_wheel for virt-backup ... done
Stored in directory: /root/.cache/pip/wheels/24/2e/0d/b3103fed109ad402f0ca5b915326ab4e4681e2769e55deb47f
Running setup.py bdist_wheel for libvirt-python ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dd28ztdb/libvirt-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpjycy7m9cpip-wheel- --python-tag cp35:
running bdist_wheel
running build
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 374, in
"Programming Language :: Python :: 3.8",
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 179, in run
self.run_command('build')
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 151, in run
check_minimum_libvirt_version()
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 44, in check_minimum_libvirt_version
spawn([get_pkgcfg(),
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 40, in get_pkgcfg
raise Exception("pkg-config binary is required to compile libvirt-python")
Exception: pkg-config binary is required to compile libvirt-python
Failed building wheel for libvirt-python
Running setup.py clean for libvirt-python
Successfully built virt-backup
Failed to build libvirt-python
Installing collected packages: argparse, python-dateutil, arrow, defusedxml, libvirt-python, packaging, virt-backup
Found existing installation: python-dateutil 2.4.2
Not uninstalling python-dateutil at /usr/lib/python3/dist-packages, outside environment /usr
Running setup.py install for libvirt-python ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dd28ztdb/libvirt-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-th2xgfjk-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 374, in
"Programming Language :: Python :: 3.8",
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.5/distutils/command/install.py", line 583, in run
self.run_command('build')
File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 151, in run
check_minimum_libvirt_version()
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 44, in check_minimum_libvirt_version
spawn([get_pkgcfg(),
File "/tmp/pip-build-dd28ztdb/libvirt-python/setup.py", line 40, in get_pkgcfg
raise Exception("pkg-config binary is required to compile libvirt-python")
Exception: pkg-config binary is required to compile libvirt-python
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-dd28ztdb/libvirt-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-th2xgfjk-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-dd28ztdb/libvirt-python/