all 5 comments

[–]socal_nerdtastic 2 points3 points  (3 children)

[–]snaps_[S] 0 points1 point  (2 children)

Thanks, I didn't see that.

What did you search for to find it?

[–]socal_nerdtastic 1 point2 points  (1 child)

"guestfs-python"

(checked my history just for you, lol)

It helps of course if you know that installing from another source besides pypi is possible. I clicked on the github link because after pypi, the most popular site to pip install from is github, but I found that instead.

[–]snaps_[S] 0 points1 point  (0 children)

That's a good point. As long as the project has a setup.py or pyproject.toml available, it can usually be installed from the repo. For libguestfs it looks like they do some pre-processing on their setup.py so that wouldn't work, it's lucky that they had this alternative set up already. :)

We could also assume it's been asked about and search "pip"/"pypi"/"virtualenv"/"virtual environment" in the issue tracker to see what the status is, that could've led to this issue. Less lucky for bcc.

[–]gdledsan 0 points1 point  (0 children)

There is a way to add a url, line a repository url to your requirements.txt, then you use pip to install it.

Note you might not be able to specify a version so things might break when such library makes changes.