[libvirt-users] Installing the python libvirt bindings in a virtualenv

Henrik Ahlgren pablo at seestieto.com
Tue Apr 24 05:35:56 UTC 2012


On Mon, Apr 23, 2012 at 11:56:56PM +0200, Daniel Gonzalez wrote:

> But this is failing with error message:
> 
> checking for python script directory... ${prefix}/lib/python2.7/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.7/site-packages
> configure: error: You must install python-devel to build Python bindings
> 
> python-devel does not exist. I have used python-all-dev, but it has
> not solved the problem.

In Debian and derivates, I believe the package you want to install is
called python2.7-dev. Also, I would use the latest libvirt release
(0.9.11) instead of 0.9.9.




More information about the libvirt-users mailing list