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

Re: [et-mgmt-tools] running virt-manager



Paras pradhan wrote:
> Hi all,
> 
> I have compiled libvirt using:
> ./configure
> make
> make install
> 
> 
> And after that I have complied virt-manager using:
> 
> ./configuire
> make
> make install
> 
> 
> The I added /usr/local/lib to ld.so.conf.d , ran ldconfig.
> 
> Now when i run virt-manager
> 
> I get the followiing error:
> 
> ---
> [root ha1 ~]# virt-manager
> Traceback (most recent call last):
>   File "/usr/local/share/virt-manager/virt-manager.py", line 26, in ?
>     import libvirt
> ImportError: No module named libvirt
> [root ha1 ~]#
> 
> --
> 
> 
> What went wrong in here?
> 
> Thanks
> Paras.
> 

You'll need to find out where libvirt 'make install' placed the python
bindings (look for file 'libvirt.py'), and set the environment variable
PYTHONPATH to that directory.

- Cole


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