I got the following error when trying to install the pybluez
module.
error in PyBluez setup command: use_2to3 is invalid
The fix for now seems to downgrade the version of setuptools
to version 58
$ python -m pip install setuptools==58
After the downgrade the installation of pybluez
worked.