Hi,<br><br>I am still unable to run my simple libvirt test! <br><br>I checked out the code from libvirt cvs and following the instructions till 'make install'. It all went well. So then I ran my simply python test, as shown here (
<a href="http://www.libvirt.org/python.html">http://www.libvirt.org/python.html</a>). It keeps on giving me the following error.<br><br><span style="font-style: italic; background-color: rgb(255, 255, 204);">[root@lcgctb9
 libvirt]# python testLibvirt.py</span><br style="font-style: italic; background-color: rgb(255, 255, 204);"><span style="font-style: italic; background-color: rgb(255, 255, 204);">Traceback (most recent call last):</span>
<br style="font-style: italic; background-color: rgb(255, 255, 204);"><span style="font-style: italic; background-color: rgb(255, 255, 204);">  File "testLibvirt.py", line 1, in ?</span><br style="font-style: italic; background-color: rgb(255, 255, 204);">
<span style="font-style: italic; background-color: rgb(255, 255, 204);">    import virt</span><br style="font-style: italic; background-color: rgb(255, 255, 204);"><span style="font-style: italic; background-color: rgb(255, 255, 204);">
ImportError: No module named virt</span><br><br>I have verified that the library is linked by the following:<br><br><span style="font-style: italic; background-color: rgb(255, 255, 204);">[root@lcgctb9 libvirt]# pkg-config libvirt --libs
</span><br style="font-style: italic; background-color: rgb(255, 255, 204);"><span style="font-style: italic; background-color: rgb(255, 255, 204);">-L/usr/local/lib -lvirt -lxenstore</span><br style="font-style: italic; background-color: rgb(255, 255, 204);">
<br><span style="background-color: rgb(255, 255, 204);">[root@lcgctb9 libvirt]# pkg-config --variable=prefix libvirt</span><br style="background-color: rgb(255, 255, 204);"><span style="background-color: rgb(255, 255, 204);">
/usr/local</span><br><br>I really appreciate your help!<br><br>Regards<br>Omer<br clear="all"><br>-- <br>---------------------------------------------------------------<br>                                                                             
<br>CERN – European Organization for Nuclear Research<br>Information Technology Department<br>CH-1211 Geneva 23 <br><br>Phone: +41 (0) 22 767 7996<br>Fax:     +41 (0) 22 767 4900<br>E-mail : <a href="mailto:Omer.Khalid@cern.ch">
Omer.Khalid@cern.ch</a><br>Homepage: <a href="http://cern.ch/Omer.Khalid">http://cern.ch/Omer.Khalid</a>