pkgsrc-Users archive

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

Re: ImportError: No module named libvirt



On Tue, Sep 14, 2021 at 02:18:05PM +0100, Chavdar Ivanov wrote:
> On Tue, 14 Sept 2021 at 13:58, Mario Marietto <marietto2008%gmail.com@localhost> wrote:
> >
> > So,let's make a recap of what I've experimented :
> >
> > 1) if I make the installation of virt-manager using pkgin virt-manager I see the error :
> >
> > netbsd-marietto# virt-manager
> >  Traceback (most recent call last):
> >   File "/usr/pkg/share/virt-manager/virt-manager.py", line 386, in <module>
> >      main()
> >    File "/usr/pkg/share/virt-manager/virt-manager.py", line 247, in main
> >      from virtManager import cli
> >    File "/usr/pkg/share/virt-manager/virtManager/cli.py", line 29, in <module>
> >      import libvirt
> >   ImportError: No module named libvirt
> >
> > 2) and if I go under the folder /usr/pkgsrc/wip/virt-manager and I do a make I get the following error :
> >
> > => Automatic manual page handling
> > => Generating post-install file lists
> > pkg_create: can't stat `/usr/pkgsrc/wip/libosinfo/work/.destdir/usr/pkg/share/vala/vapi/libosinfo-1.0.vapi'
> 
> 
> You probably have a problem with lang/vala. My version is 0.52.4 and
> the file you indicate as missing is correctly generated in my build.

The package was missing the vala dependency completely, so I guess Mario needs to update the wip checkout.
 Thomas


Home | Main Index | Thread Index | Old Index