Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can any one help me out to install python-guestfs and libguestfs-tools in python virtual environment?

I tried to install those packages with the help of pip install but it fails to install because it throws an error package not found.

share|improve this question
Please show the exact command and the exact error produced. – terdon Mar 11 '14 at 5:25
Bcoz You dont have the package inside the pip ,you can install through apt-get install python-guestfs – Premkumar Mar 11 '14 at 5:26
I've filed an RFE here: "RFE: python-libguestfs should be available on pypi" – Rich Mar 12 '14 at 12:38

Try these commands,

sudo apt-get install python-guestfs
sudo apt-get install libguestfs-tools


sudo apt-get install python-pip
sudo pip install python-guestfs
sudo pip install libguestfs-tools
share|improve this answer
I tried through pip install, the error was "No distributions at all found for python-guestfs". If we install through apt-get it will install and sit in the system but not in the virtual-env – user27 Mar 11 '14 at 5:42
you cant install it through pip because these packages are not there at pypi as pip installs packages maintained by pypi – Stormvirux Mar 11 '14 at 6:52

I have started work on this. See the commit here which will allow you to build a python distribution of guestfs:

Unfortunately we are waiting on the Python Software Foundation to resolve a licensing problem with the PyPi website before I am able to upload anything.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.