Re: No module named repository

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

 



On 04/20/2015 02:43 PM, Mani Devarajan wrote:
> Hello all,
>  I am trying to use virt-manager 1.1.0 with ubuntu 14.04. The apt-repo based
> virt-manager doesnt support port-group. So i need to use virt-manager 1.1.0.
> After install i am hitting the following error.
> I tried almost all the packages recommended for this problem, but still no
> luck. Any suggestions on this issue would be of great help. 
> 
> /usr/local/share/virt-manager/virt-install 
> 
> Traceback (most recent call last):
> 
>   File "/usr/local/share/virt-manager/virt-install", line 29, in <module>
> 
>     import virtinst
> 
>   File "/usr/local/share/virt-manager/virtinst/__init__.py", line 70, in <module>
> 
>     from virtinst.distroinstaller import DistroInstaller
> 
>   File "/usr/local/share/virt-manager/virtinst/distroinstaller.py", line 32,
> in <module>
> 
>     from virtinst import urlfetcher
> 
>   File "/usr/local/share/virt-manager/virtinst/urlfetcher.py", line 35, in
> <module>
> 
>     from virtinst import osdict
> 
>   File "/usr/local/share/virt-manager/virtinst/osdict.py", line 25, in <module>
> 
>     from gi.repository import Libosinfo as libosinfo
> 
> ImportError: No module named repository
> 

On fedora the package is called pygobjec3-base that provides
/usr/lib64/python2.7/site-packages/gi/repository . Not sure if that's the path
on ubuntu either, but if it is, maybe you can pass that to apt and it will
install what you need

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux