Skip to content
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

pipx: pkg_resources (setuptools) not found #38

Open
emperor06 opened this issue Jun 27, 2024 · 5 comments
Open

pipx: pkg_resources (setuptools) not found #38

emperor06 opened this issue Jun 27, 2024 · 5 comments

Comments

@emperor06
Copy link

Recently, sysbus stopped working because it can't find the pkg_resources module, which is part of setuptools.

Setuptools is installed system-wide but, for some reason, it is not available anymore to the sysbus virtual env. Affected system: archlinux and derivatives.

I ran the following command and now it works again:

pipx runpip sysbus install setuptools

Maybe a setuptools dependency is missing somewhere? It seems other projects had this issue (mkb79/audible-cli#188).

@rene-d
Copy link
Owner

rene-d commented Jun 28, 2024

Thank you for reporting this issue. I'll try to have a look. However, you could fork and propose a PR if you think you can find the solution. I don't use pipx nor archlinux...

@emperor06
Copy link
Author

I'm afraid I'm at a total lost with these python virtual env things, pipx, and the rest :/

@rene-d
Copy link
Owner

rene-d commented Jun 28, 2024

Ok, I will investigate

@rlefevre
Copy link

rlefevre commented Dec 30, 2024

pkg_resources is deprecated and removed in python 3.12:
https://setuptools.pypa.io/en/latest/pkg_resources.html

@rene-d
Copy link
Owner

rene-d commented Jan 1, 2025

Could you make a PR with the required modifications?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants