[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Hi Cole,

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

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

[root 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 blr-vxr-009 vsm]#

Thanks,
Chandrashekhar

-----Original Message-----
From: Cole Robinson [mailto:crobinso redhat com] 
Sent: Wednesday, February 08, 2012 7:31 PM
To: Chandrashekhar Jamadarkhani (cjamadar)
Cc: virt-tools-list 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 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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]