Virt-manager error on fedora 26

Virt-manager error on fedora 26

virt-manager is a graphical tool to manage kvm vms on a host, due to some dependency or reinstall of libvirt can cause virt-manger show below error

$virt-manager 
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 35, in <module>
    from virtinst import util as util
  File "/usr/share/virt-manager/virtinst/__init__.py", line 39, in <module>
    from virtinst import util
  File "/usr/share/virt-manager/virtinst/util.py", line 27, in <module>
    import libvirt
ImportError: No module named libvirt

To fix the above error install package libvirt-python

$ sudo dnf install libvirt-python
Last metadata expiration check: 2:24:09 ago on Monday 02 April 2018 06:12:52 PM IST.
Dependencies resolved.
============================================================================================================================================================================================================================
 Package                                                  Arch                                             Version                                                   Repository                                        Size
============================================================================================================================================================================================================================
Installing:
 libvirt-python                                           x86_64                                           3.2.0-1.fc26                                              fedora                                           261 k

Transaction Summary
============================================================================================================================================================================================================================
Install  1 Package

Total download size: 261 k
Installed size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] libvirt-python-3.2.0-1.fc26.x86_64.rpm: Status code: 404 for https://mirrors.piconets.webwerks.in/fedora-mirror/fedora/linux/releases/26/Everything/x86_64/os/Packages/l/libvirt-python-3.2.0-1.fc26.x86_64.rpm    
libvirt-python-3.2.0-1.fc26.x86_64.rpm                                                                                                                                                      166 kB/s | 261 kB     00:01    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                        89 kB/s | 261 kB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                    1/1 
  Installing       : libvirt-python-3.2.0-1.fc26.x86_64                                                                                                                                                                 1/1 
  Verifying        : libvirt-python-3.2.0-1.fc26.x86_64                                                                                                                                                                 1/1 

Installed:
  libvirt-python.x86_64 3.2.0-1.fc26                                                                                                                                                                                        

Complete!

Here is a screenshot of working virt-manager.