Bluetooth-Unlock
Bluetooth-Unlock copied to clipboard
Replace pybluez from Pip with python3-bluez from APT
On Debian Bookworm, in a Conda environment providing Python 3.9.12, it was not possible to install the pybluez package. The error message was
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in PyBluez setup command: use_2to3 is invalid.
[end of output]
Since the same package is provided by python3-bluez in APT, one can switch to that. It seems preferable to stick with the distribution's package, since this guarantees a functional setup script throughout the lifetime of the distribution.