Why does "virt-manager" fails with error "ImportError: No module named libvirt" ?

Solution Verified - Updated -

Issue

  • Trying to launch virt-manager fails with below error.
# virt-manager
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 26, in <module>
    import libvirt
ImportError: No module named libvirt

Environment

  • Red Hat Enterprise Linux 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content