Closed loureirorg closed 2 years ago
Looks like this error comes from PyBluez
and not my code. You might want to contact them about it.
For now downgrading setuptools==58.0.0
might fix the error temporarily.
I was able to fix the issue by installing setuptools
version 58.
pip3 install setuptools==58
pip3 install bluetooth_battery
I'm not familiar with Python, so I have no idea what setuptools
is, nor what the consequences of installing an old version of it are, but I'm glad this worked to install this tool.
Here's where I found this solution: https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2
I'm closing this issue for now because it seems to be fixable on the user side, but it would be great to have if someone with time and knowledge could fix this.
First of all, thank you for the great tool. It is the only thing that works for me to get battery info from my Bluetooth JBL.
I'm trying to install it according to the instructions:
But I'm getting this error:
I recently migrated to Ubuntu 22.04. I used to use this tool in Ubuntu 20.04 with no issues.
Full error log: