Bluetooth_Headset_Battery_Level
Bluetooth_Headset_Battery_Level copied to clipboard
fixed "error in PyBluez setup command: use_2to3 is invalid." during docker build
docker build . breaks with:
× 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]
Found: https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2
Fixed by adding fixed setuptools version (pip3 install setuptools==v57.5.0).
I think version 58.0.0 would also work. Can you try and update the Dockerfile?
You are right. Set version to setuptools==v58.0.0.