[libvirt] is libvirt-python default in libvirt compilation from source?

Daniel P. Berrange berrange at redhat.com
Wed Dec 3 09:41:53 UTC 2008

On Wed, Dec 03, 2008 at 12:46:48PM +0530, Shanmuga Rajan wrote:
> I was trying to install libvirt 0.5.0 from source..
> It seems it went well. but when i tried to import libvirt module in python
> i got error no module named libvirt
> then i searched entire system for libvirt.py then i came to know that
> python bindings for libvirt is not installed.
> is it that python bindings for libvirt not default in compilation....?

They are enabled by default, if you have neccessary python development
packages install. It sounds like ou are missing python-devel RPM (or equiv
for your OS if its not Fedora/RHEL)

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list