[virt-tools-list] virt-manager - libvirt modeule not found

Chandrashekhar Jamadarkhani (cjamadar) cjamadar at cisco.com
Wed Feb 8 16:29:48 UTC 2012


Hi Cole,

Thanks for looking in to this issue. Pls find below the o/p for the
commands.

[root at blr-vxr-009 vsm]# rpm -qf libvirt-python
error: file /nobackup/vsm/libvirt-python: No such file or directory

[root at blr-vxr-009 vsm]# python -c 'import sys; print sys.path'
['', '/usr/cisco/depot/subversion/lib/python26.zip',
'/usr/cisco/depot/subversion/lib/python2.6',
'/usr/cisco/depot/subversion/lib/python2.6/plat-linux2',
'/usr/cisco/depot/subversion/lib/python2.6/lib-tk',
'/usr/cisco/depot/subversion/lib/python2.6/lib-old',
'/usr/cisco/depot/subversion/lib/python2.6/lib-dynload',
'/usr/cisco/depot/subversion/lib/python2.6/site-packages']
[root at blr-vxr-009 vsm]#

Thanks,
Chandrashekhar

-----Original Message-----
From: Cole Robinson [mailto:crobinso at redhat.com] 
Sent: Wednesday, February 08, 2012 7:31 PM
To: Chandrashekhar Jamadarkhani (cjamadar)
Cc: virt-tools-list at redhat.com
Subject: Re: [virt-tools-list] virt-manager - libvirt modeule not found

On 02/08/2012 05:59 AM, Chandrashekhar Jamadarkhani (cjamadar) wrote:
> Hi,
> 
>  
> 
> I have installed libvirt using yum install but still I could see
libvirt
> module not found while running virt-manager tool.
> 
>  
> 
> # yum install virt-manager libvirt libvirt-python libvirt-python
python-virtinst
> 
>  
> 
> [root at blr-vxr-005 vsm]# 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
> 
> [root at blr-vxr-005 vsm]#
> 

That's strange. What's the output of these commands:

rpm -qf libvirt-python
python -c 'import sys; print sys.path'

- Cole




More information about the virt-tools-list mailing list