-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems getting python-apt properly installed #4741
Comments
Hello @elear. Thanks for reporting, we'll take care about the issue investigation. |
Hello @elear. Could you share your workflow, please? The usage scenario is a bit unclear for us at the moment. |
Of course, @V-Zabayrachny. If you have a look at apt2sbom, and check out the fix-integration branch, you can see all of my toils, exposed to the world. Check out pylint.yml, and blame away. README.md explains what I'm trying to do. I've held off on further CI/CD actions until you guys have had a chance to tell me what I'm doing wrong ;-) |
Sorry link correction: https://github.com/elear/apt2sbom. |
@elear, I would like to clarify how pythons are installed on our Ubuntu20 image. What we have is:
|
Ok, thanks for the advice. I understand the difficulty in this case, so I'm sticking right now with just the built in ubuntu version of python. |
Description
I am struggling to find a way to get python apt modules to properly load. This is for a program that needs to examine the install using apt.cache and apt.package etc.
I've tried whacking both the PYTHONPATH and LD_LIBRARY_PATH but I am still eating it. Thanks for any and all help.
Virtual environments affected
Image version and build link
ubuntu-latest with python 3.9.9 (I image it would recur with 3.10 as well).
Is it regression?
don't know
Expected behavior
No traceback
Actual behavior
Repro steps
apt install python-apt
or
apt install python3-apt
foo.py:
The text was updated successfully, but these errors were encountered: