Bluetooth_Headset_Battery_Level icon indicating copy to clipboard operation
Bluetooth_Headset_Battery_Level copied to clipboard

fixed "error in PyBluez setup command: use_2to3 is invalid." during docker build

Open TomHutter opened this issue 3 years ago • 1 comments

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).

TomHutter avatar Aug 03 '22 08:08 TomHutter

I think version 58.0.0 would also work. Can you try and update the Dockerfile?

TheWeirdDev avatar Aug 03 '22 18:08 TheWeirdDev

You are right. Set version to setuptools==v58.0.0.

TomHutter avatar Aug 19 '22 11:08 TomHutter