
dpkshetty@deepak-ThinkPad-T60p :~/work/cimtest/cimtest$ sudo CIM_NS=root/virt CIM_USER=root CIM_PASS=****** ./runtests libvirt-cim -i localhost -c -d -v KVM -g ComputerSys tem -t 04_defineStartVS.py Starting test suite: libvirt-cim Traceback (most recent call last): File "main.py", line 42, in <module> from XenKvmLib.common_util import create_netpool_conf, destroy_netpool, \ File "./lib/XenKvmLib/common_util.py", line 31, in <module> from XenKvmLib.test_xml import * File "./lib/XenKvmLib/test_xml.py", line 32, in <module> from xml import xpath ImportError: cannot import name xpath I have all the pre-req installed as mentioned on the http://wiki.libvirt.org/page/Cimtest_setup <http://wiki.libvirt.org/page/Cimtest_setup> wiki. there is no pyxml eq. on ubuntu ( I am on ubuntu host) but i do have these... dpkshetty@deepak-ThinkPad-T60p:~/work/cimtest/cimtest$ dpkg -l | grep python | grep xml ii python-libxml2 2.7.8.dfsg-2 Python bindings for the GNOME XML library ii python-lxml 2.3-0.1 pythonic binding for the libxml2 and libxslt libraries dpkshetty@deepak-ThinkPad-T60p:~/work/cimtest/cimtest$ dpkshetty@deepak-ThinkPad-T60p:~/work/cimtest/cimtest$ dpkg -l | grep python2 ii libpython2.7 2.7.1-5ubuntu2 Shared Python runtime library (version 2.7) ii python2.6 2.6.6-6ubuntu7 An interactive high-level object-oriented language (version 2.6) ii python2.6-minimal 2.6.6-6ubuntu7 A minimal subset of the Python language (version 2.6) ii python2.7 2.7.1-5ubuntu2 An interactive high-level object-oriented language (version 2.7) ii python2.7-dev 2.7.1-5ubuntu2 Header files and a static library for Python (v2.7) ii python2.7-minimal 2.7.1-5ubuntu2 A minimal subset of the Python language (version 2.7) dpkshetty@deepak-ThinkPad-T60p:~/work/cimtest/cimtest$ dpkshetty@deepak-ThinkPad-T60p:~/work/cimtest/cimtest$ dpkg -l | grep wbem ii python-pywbem 0.7.0-4 Python WBEM Client and Provider Interface dpkshetty@deepak-ThinkPad-T60p:~/work/cimtest/cimtest$ Can someone help or tell me what am I missing ? My aim is to invole the create/define system flow via libvirt-cim. thanx, deepak