sysbus icon indicating copy to clipboard operation
sysbus copied to clipboard

pipx: pkg_resources (setuptools) not found

Open emperor06 opened this issue 1 year ago • 5 comments

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 (https://github.com/mkb79/audible-cli/issues/188).

emperor06 avatar Jun 27 '24 07:06 emperor06

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...

rene-d avatar Jun 28 '24 06:06 rene-d

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

emperor06 avatar Jun 28 '24 15:06 emperor06

Ok, I will investigate

rene-d avatar Jun 28 '24 16:06 rene-d

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

rlefevre avatar Dec 30 '24 10:12 rlefevre

Could you make a PR with the required modifications?

rene-d avatar Jan 01 '25 19:01 rene-d