vm-instal -l ImportError: No module named dbus

Hi everyone!

Recently installed a new distro OpenSUSE 11.4 x86_64.
I installed it in a minimal configuration for my needs, on after installing a minimal system installed hypervisor Xen 4.0.2. He also set for a lot of dependencies, and utilities.

On one of them I have a problem. Trying to run a utility to create a virtual machine “vm-install”, but crashes the next kind of error:


Traceback (most recent call last):
  File "/usr/bin/vm-install", line 30, in <module>
    import vminstall.job
  File "/usr/lib/python2.7/site-packages/vminstall/job.py", line 28, in <module>
    import libvirt_hypervisor
  File "/usr/lib/python2.7/site-packages/vminstall/libvirt_hypervisor.py", line 22, in <module>
    import dbus
ImportError: No module named dbus

Technical info:


Distro: Linux xen-vm-master-node 2.6.37.1-1.2-xen #1 SMP 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

libvirt - Version: 0.8.8-0.4.1.x86_64
libvirt-python - Version: 0.8.8-0.4.1.x86_64
python - Version: 2.7-8.2.x86_64
xen - Version: 4.0.2_02-4.7.1.x86_64

Please help to resolve this error!
Thank you!

You should install dbus-1-python package from zypper.