You are not logged in.
Hi,
I'm trying to get the GUI manager for libvirt -> virt-manager up and working, but I keep getting this error:
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager", line 33, in <module>
from virtinst import util as util
File "/usr/share/virt-manager/virtinst/__init__.py", line 39, in <module>
from . import util
File "/usr/share/virt-manager/virtinst/util.py", line 28, in <module>
import libvirt
ImportError: dynamic module does not define init function (initlibvirt)I tried looking for this error, but it seems that specific one is nowhere to be found. Similar errors are due to python version mismatch, but I double-checked and I have all the correct python2 dependencies. All the correct modules and services are loaded successfully and tested, it's just the GUI doesn't load.
Any ideas?
Thanks.
EDIT: This seems to be a bug with libvirt. I get the same thing when I manually run virt-install:
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-install", line 27, in <module>
import libvirt
ImportError: dynamic module does not define init function (initlibvirt)Last edited by kgizdov (2016-10-11 22:54:59)
Offline
Take a look at this https://bugs.archlinux.org/task/51247.
I just tried and the virt-manager seems working all fine. I don't think it is a bug within virt-manger, did you ever mess with the python env?
Offline
Sorry, forgot to update that I solved my issue by fixing the python env that was polluted by and AUR package.
Offline