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

Daniel Gonzalez gonvaled at gonvaled.com
Thu Apr 26 14:18:53 UTC 2012


Well, my host system has python 2.6, so python2.7.dev can not be installed.
Only my virtualenv has python2.7 (compiled from source), and I have no
idea how to install debian packages to my virtualenv.

On Tue, Apr 24, 2012 at 7:35 AM, Henrik Ahlgren <pablo at seestieto.com> wrote:
> 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