Still can't run a simple python test libvirt !

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

 



Hi,

I am still unable to run my simple libvirt test!

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 ( http://www.libvirt.org/python.html). It keeps on giving me the following error.

[root@lcgctb9 libvirt]# python testLibvirt.py
Traceback (most recent call last):
  File "testLibvirt.py", line 1, in ?
    import virt
ImportError: No module named virt

I have verified that the library is linked by the following:

[root@lcgctb9 libvirt]# pkg-config libvirt --libs
-L/usr/local/lib -lvirt -lxenstore

[root@lcgctb9 libvirt]# pkg-config --variable=prefix libvirt
/usr/local

I really appreciate your help!

Regards
Omer

--
---------------------------------------------------------------
                                                                            
CERN – European Organization for Nuclear Research
Information Technology Department
CH-1211 Geneva 23

Phone: +41 (0) 22 767 7996
Fax:     +41 (0) 22 767 4900
E-mail : Omer.Khalid@xxxxxxx
Homepage: http://cern.ch/Omer.Khalid

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]