compiled but not found, ModuleNotFoundError: No module named 'blueman' #2243
-
blueman: Latest branche / 2.3.5
Hello, Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 3 replies
-
Just use blueman that is already packaged by ubuntu. |
Beta Was this translation helpful? Give feedback.
-
You installed to |
Beta Was this translation helpful? Give feedback.
-
The one with 22.04 does not offer battery status |
Beta Was this translation helpful? Give feedback.
-
I guess it's a better idea to retrieve Python env and install it there ? |
Beta Was this translation helpful? Give feedback.
-
Here is what happens about Python, To understand which python it seems, I did :
This error proves that it validated the custom python, So why blueman is not installed into the default python ? |
Beta Was this translation helpful? Give feedback.
-
You need to Many other things will break, e.g. you need to configure correct systemd paths, see https://salsa.debian.org/debian/blueman/-/blob/dd9b5402dbc101b836c19966c9be2a1b43992588/debian/rules#L9. The better idea would be to build a Debian package. See that salsa repository for configuration. Or just try a snapshot from https://blueman.cschramm.eu/debian/ where that's already done. |
Beta Was this translation helpful? Give feedback.
-
I was going to update the above answer, as I tried to bring a custom deb package, seems its dependecies is 3.11 and not 3.10
Edit : thank you very much, I was able to install the latest version using the repo :
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If you did not uninstall what you spread over your system previously, you might have e.g. competing |
Beta Was this translation helpful? Give feedback.
-
FWIW: I had a similar problem with It appears that python3 -m site With output:
So, lazily, I chose to copy the built components to sudo cp -r /usr/local/lib/python3.12/site-packages/*blueman* /usr/lib/python3/dist-packages Then everything worked (although I had a missing dependency, |
Beta Was this translation helpful? Give feedback.
You installed to
/usr/local
. Assuming you're using a system provided Python installation, it is not configured to look for packages there.