mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-26 16:05:58 +03:00
[GH-ISSUE #302] I have a question about libvirt-python on macos10.14 #198
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @QZKrainpig on GitHub (Mar 23, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/302
Running setup.py install for libvirt-python ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-install-unW2HH/libvirt-python/setup.py'"'"'; file='"'"'/private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-install-unW2HH/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 /private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-record-nq06qS/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/qzk/Library/Python/2.7/include/python2.7/libvirt-python
cwd: /private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-install-unW2HH/libvirt-python/
Complete output (44 lines):
running install
running build
/usr/local/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt /usr/local/Cellar/libvirt/6.1.0_1/share/libvirt/api/libvirt-api.xml
Found 466 functions in /usr/local/Cellar/libvirt/6.1.0_1/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 359 wrapper functions
Missing type converters:
virTypedParameterPtr:2
virNWFilterBindingPtr **:1
virNetworkPortPtr:12
virNWFilterBindingPtr:8
virTypedParameterPtr *:3
char **:1
virNetworkPortPtr **:1
ERROR: failed virConnectBaselineHypervisorCPU
ERROR: failed virConnectListAllNWFilterBindings
ERROR: failed virConnectSetIdentity
ERROR: failed virDomainGetGuestInfo
ERROR: failed virDomainGetLaunchSecurityInfo
ERROR: failed virDomainSetIOThreadParams
ERROR: failed virNWFilterBindingCreateXML
ERROR: failed virNWFilterBindingDelete
ERROR: failed virNWFilterBindingFree
ERROR: failed virNWFilterBindingGetFilterName
ERROR: failed virNWFilterBindingGetPortDev
ERROR: failed virNWFilterBindingGetXMLDesc
ERROR: failed virNWFilterBindingLookupByPortDev
ERROR: failed virNWFilterBindingRef
ERROR: failed virNetworkListAllPorts
ERROR: failed virNetworkPortCreateXML
ERROR: failed virNetworkPortDelete
ERROR: failed virNetworkPortFree
ERROR: failed virNetworkPortGetNetwork
ERROR: failed virNetworkPortGetParameters
ERROR: failed virNetworkPortGetUUID
ERROR: failed virNetworkPortGetUUIDString
ERROR: failed virNetworkPortGetXMLDesc
ERROR: failed virNetworkPortLookupByUUID
ERROR: failed virNetworkPortLookupByUUIDString
ERROR: failed virNetworkPortRef
ERROR: failed virNetworkPortSetParameters
ERROR: failed virNodeGetSEVInfo
error: command '/usr/bin/python' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-install-unW2HH/libvirt-python/setup.py'"'"'; file='"'"'/private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-install-unW2HH/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 /private/var/folders/dh/ns8vckrn12zbn_zl4bl9rgrc0000gn/T/pip-record-nq06qS/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/qzk/Library/Python/2.7/include/python2.7/libvirt-python Check the logs for full command output.
@catborise commented on GitHub (Mar 23, 2020):
hi @QZKrainpig why would you install webvirtcloud on macOS?
for a special purpose?
i think you want to install libvirt-python to macOS.
Before the libvirt-python you should install libvirt and pkgconfig.
brew install libvirt
brew install pkgconfig
install pip then, you should try install it with "pip install libvirt-python"