Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 at 5:25
    
Bcoz You dont have the package inside the pip ,you can install through apt-get install python-guestfs –  Premkumar Mar 11 at 5:26
    
I've filed an RFE here: bugzilla.redhat.com/show_bug.cgi?id=1075594 "RFE: python-libguestfs should be available on pypi" –  Rich Mar 12 at 12:38

2 Answers 2

Try these commands,

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

OR

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 at 5:42
    
1  
you cant install it through pip because these packages are not there at pypi as pip installs packages maintained by pypi –  Stormvirux Mar 11 at 6:52

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

https://github.com/libguestfs/libguestfs/commit/fcbfc4775fa2a44020974073594a745ca420d614

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

 
discard

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.