On 11/20/2013 09:26 AM, Mahmood Naderan wrote: > Hi, > I have successfully installed libvirt-.0.10.0 from source > > ./configure > make > make install > > How can I check that if libvirt-python is installed? Search the folders, it seems there is no such file > > [root@tiger ~]# find /usr/ -name libvirt-python > [root@tiger ~]# find . -name libvirt-python That's because installing libvirt-python doesn't create any directory or file named exactly libvirt-python. For an example of what DOES get installed: # rpm -ql libvirt-python /usr/lib64/python2.7/site-packages/libvirt.py /usr/lib64/python2.7/site-packages/libvirt.pyc /usr/lib64/python2.7/site-packages/libvirt.pyo /usr/lib64/python2.7/site-packages/libvirt_lxc.py /usr/lib64/python2.7/site-packages/libvirt_lxc.pyc /usr/lib64/python2.7/site-packages/libvirt_lxc.pyo /usr/lib64/python2.7/site-packages/libvirt_qemu.py /usr/lib64/python2.7/site-packages/libvirt_qemu.pyc /usr/lib64/python2.7/site-packages/libvirt_qemu.pyo /usr/lib64/python2.7/site-packages/libvirtmod.so /usr/lib64/python2.7/site-packages/libvirtmod_lxc.so /usr/lib64/python2.7/site-packages/libvirtmod_qemu.so /usr/share/doc/libvirt-python-1.1.3.1 /usr/share/doc/libvirt-python-1.1.3.1/events-python /usr/share/doc/libvirt-python-1.1.3.1/events-python/event-test.py /usr/share/doc/libvirt-python-1.1.3.1/python /usr/share/doc/libvirt-python-1.1.3.1/python/Makefile.am /usr/share/doc/libvirt-python-1.1.3.1/python/README /usr/share/doc/libvirt-python-1.1.3.1/python/consolecallback.py /usr/share/doc/libvirt-python-1.1.3.1/python/dominfo.py /usr/share/doc/libvirt-python-1.1.3.1/python/domrestore.py /usr/share/doc/libvirt-python-1.1.3.1/python/domsave.py /usr/share/doc/libvirt-python-1.1.3.1/python/domstart.py /usr/share/doc/libvirt-python-1.1.3.1/python/esxlist.py /usr/share/doc/libvirt-python-1.1.3.1/python/topology.py Also, you can do: $ python >>> import libvirt >>> help('libvirt') and if that succeeds, then python found your installed libvirt bindings. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users