[virt-tools-list] Virtual Machine Manager UI not launching on CentOS 7

Aravind Kamble arvind.kamble at gmail.com
Thu Sep 5 11:23:23 UTC 2019


Hi All,

 I am a new user of virt-manager. I installed Virtual Machine Manager
(1.5.0-1.el7)on CentOS 7 machine. I was able to launch the UI and work with
it properly.
 I saw latest version of virt-manager 2.2.1 on the site
https://virt-manager.org/ . I tried to install it by downloading from
https://virt-manager.org/download/sources/virt-manager/virt-manager-2.2.1.tar.gz
 I unzipped the file and executed the command "python3.6 setup.py install".
It tried installing but exited out after printing the message "running
install_egg_info". Please find the full output attached with this mail.

 After this when I tried to launch Virtual Machine Manager from
Applications->System Tools-->Virtual Machine Manager, I don't see it
launched.
 If I try to launch it via command line I get the following


[root at Mordor aravind]# virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 19, in <module>
    from virtinst import BuildConfig
  File "/usr/share/virt-manager/virtinst/__init__.py", line 42, in <module>
    _set_libvirt_error_handler()
  File "/usr/share/virt-manager/virtinst/__init__.py", line 32, in
_set_libvirt_error_handler
    import libvirt
ModuleNotFoundError: No module named 'libvirt'


I do have libvirt installed.

[root at Mordor aravind]# rpm -qa | grep libvirt
libvirt-daemon-driver-storage-gluster-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-config-network-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-nodedev-4.5.0-10.el7_6.12.x86_64
libvirt-gobject-1.0.0-1.el7.x86_64
libvirt-daemon-driver-qemu-4.5.0-10.el7_6.12.x86_64
libvirt-client-4.5.0-10.el7_6.12.x86_64
libvirt-glib-1.0.0-1.el7.x86_64
libvirt-daemon-driver-storage-core-4.5.0-10.el7_6.12.x86_64
libvirt-gconfig-1.0.0-1.el7.x86_64
libvirt-daemon-driver-lxc-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-disk-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-secret-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-mpath-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-kvm-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-nwfilter-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-iscsi-4.5.0-10.el7_6.12.x86_64
libvirt-bash-completion-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-config-nwfilter-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-scsi-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-interface-4.5.0-10.el7_6.12.x86_64
libvirt-python-4.5.0-1.el7.x86_64
libvirt-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-network-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-4.5.0-10.el7_6.12.x86_64
libvirt-libs-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-logical-4.5.0-10.el7_6.12.x86_64
libvirt-daemon-driver-storage-rbd-4.5.0-10.el7_6.12.x86_64

Please help me restoring the working version of Virtual Machine or making
this new version work.


Thanks,
Aravind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20190905/a8ad5d10/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup-error
Type: application/octet-stream
Size: 5912 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20190905/a8ad5d10/attachment.obj>


More information about the virt-tools-list mailing list