[CentOS-virt] No module named cygvirtmod

Thu Jan 12 15:14:37 UTC 2012
Tait Clarridge <tait at taiter.com>


On Thu, 2012-01-12 at 14:24 +0000, Lars Hecking wrote:
> I'm trying to set up a xen guest on a machine that already has a few others
>  running (not set up by me). It fails with the following error:
> 
> + virt-install -r 512 -n host5 -f /dev/vol0/lvol5 --nographics -p --os-type=linux --os-variant=rhel5 --accelerate -l http://bla -x ks=http://bla/ks.cfg -m MA:CA:DD:RE:SS
> Traceback (most recent call last):
>   File "/usr/bin/virt-install", line 31, in ?
>     import libvirt
>   File "/usr/lib64/python2.4/site-packages/libvirt.py", line 12, in ?
>     import cygvirtmod as libvirtmod
> ImportError: No module named cygvirtmod

Do you have the libvirt-python package installed?
Also check for the virt-viewer package (which helps with a lot of virt
tool errors).

Tait