Silvia Fichera
2017-Sep-07 15:25 UTC
[libvirt-users] Failed building wheel for libvirt-python
Hi all, I'm installing Openstack using devstack netwon branch in my PC with Ubuntu 16.04 and I have this error. Could someone of you help me please? Thanks Collecting libvirt-python===2.1.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 169)) Using cached libvirt-python-2.1.0.tar.gz Building wheels for collected packages: libvirt-python Running setup.py bdist_wheel for libvirt-python ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpsHlvcmpip-wheel- --python-tag cp27: running bdist_wheel running build /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 344 wrapper functions Missing type converters: virConnectNodeDeviceEventGenericCallback:1 ERROR: failed virConnectNodeDeviceEventRegisterAny error: command '/usr/bin/python' failed with exit status 1 ---------------------------------------- Failed building wheel for libvirt-python Running setup.py clean for libvirt-python Failed to build libvirt-python Installing collected packages: libvirt-python Running setup.py install for libvirt-python ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/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-0i4vHi-record/install-record.txt --single-version-externally-managed --compile: running install running build /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 344 wrapper functions Missing type converters: virConnectNodeDeviceEventGenericCallback:1 ERROR: failed virConnectNodeDeviceEventRegisterAny error: command '/usr/bin/python' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/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-0i4vHi-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-g9ai0P/libvirt-python/ +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:494 local r=1 ++./stack.sh:exit_trap:495 jobs -p +./stack.sh:exit_trap:495 jobs+./stack.sh:exit_trap:498 [[ -n '' ]] +./stack.sh:exit_trap:504 kill_spinner +./stack.sh:kill_spinner:390 '[' '!' -z '' ']' +./stack.sh:exit_trap:506 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:507 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:508 generate-subunit 1504797369 129 fail +./stack.sh:exit_trap:509 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:512 /home/onossona/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2017-09-07-151818.txt for details +./stack.sh:exit_trap:518 exit 1 -- Silvia Fichera -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170907/e940d61d/attachment.htm>
Daniel P. Berrange
2017-Sep-07 15:56 UTC
[libvirt-users] Failed building wheel for libvirt-python
On Thu, Sep 07, 2017 at 05:25:46PM +0200, Silvia Fichera wrote:> Hi all, > I'm installing Openstack using devstack netwon branch in my PC with Ubuntu > 16.04 and I have this error. > Could someone of you help me please?The version of libvirt-python must be the same as, or newer than, the version of the libvirt C library you're building against. This error suggests you> Thanks > > Collecting libvirt-python===2.1.0 (from -c > /opt/stack/requirements/upper-constraints.txt (line 169)) > Using cached libvirt-python-2.1.0.tar.gz > Building wheels for collected packages: libvirt-python > Running setup.py bdist_wheel for libvirt-python ... error > Complete output from command /usr/bin/python -u -c "import setuptools, > tokenize;__file__='/tmp/pip-build-g9ai0P/libvirt-python/setup.py';f=getattr(tokenize, > 'open', open)(__file__);code=f.read().replace('\r\n', > '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d > /tmp/tmpsHlvcmpip-wheel- --python-tag cp27: > running bdist_wheel > running build > /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt > /usr/bin/python generator.py libvirt > /usr/share/libvirt/api/libvirt-api.xml > Found 415 functions in /usr/share/libvirt/api/libvirt-api.xml > Found 0 functions in libvirt-override-api.xml > Generated 344 wrapper functions > Missing type converters: > virConnectNodeDeviceEventGenericCallback:1 > ERROR: failed virConnectNodeDeviceEventRegisterAnyThis API was introduced in libvirt 2.2.0 IOW you need to use a newer version of libvirt-python Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Reasonably Related Threads
- node device lifecycle callback can't resive event
- XCP & Openstack
- Re: Nested KVM: L0 guest produces kernel BUG on wakeup from managed save (while a nested VM is running)
- Error with OpenStack starting an instance
- Nested KVM: L0 guest produces kernel BUG on wakeup from managed save (while a nested VM is running)