Thanks for trying to help. I found the following details:
Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 22 August 2023 at 10:24:10 (12 occurrences)
Last logged: 22 August 2023 at 14:53:40
Unable to install package PyBluez==0.22: error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [19 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/init.py → build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/widcomm.py → build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/osx.py → build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/msbt.py → build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/btcommon.py → build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/bluez.py → build/lib.linux-aarch64-cpython-311/bluetooth copying bluetooth/ble.py → build/lib.linux-aarch64-cpython-311/bluetooth running build_ext building ‘bluetooth._bluetooth’ extension creating build/temp.linux-aarch64-cpython-311 creating build/temp.linux-aarch64-cpython-311/bluez gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I./port3 -I/usr/local/include/python3.11 -c bluez/btmodule.c -o build/temp.linux-aarch64-cpython-311/bluez/btmodule.o error: command ‘gcc’ failed: No such file or directory [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for PyBluez ERROR: Could not build wheels for PyBluez, which is required to install pyproject.toml-based projects [notice] A new release of pip is available: 23.1.2 → 23.2.1 [notice] To update, run: pip install --upgrade pip
That’s the issue. HAOS tries to build the PyBluez python package but fails because the compiler is not actually installed.
No clue why it happens to you, all of a sudden.
Strange!
I tried to run some commands in Terminal at my HA, but it seems not understand because of a non bash shell (zsh). I also tried to access using an external terminal session from my laptop, but it always responds with “permission denied”.
Any suggestions?
Few Weeks or Few Month ? , could you maybe specify from which Core/OS you upgraded from/to, ( also just from a “security/stability” perspective, i use to install Core/OS separately, with a restart in between) … just a “side-point”
EDIT: Note the importance of reading Release-Notes, and follow up upon “Integrations”
PS: in (i believe) 2023.8 python 3.10 was removed, so i doubt there is anyway you can fix this, beside remove/disable bluetooth-tracker