Closed uowis closed 1 year ago
I have the same issue:
Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 5:11:54 AM (3 occurrences)
Last logged: 5:35:21 AM
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-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/__init__.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/osx.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/msbt.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/bluez.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/ble.py -> build/lib.linux-x86_64-cpython-311/bluetooth running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-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-x86_64-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
Same here also
Same... here...
Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 13:56:17 (3 occurrences)
Last logged: 13:57:05
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
Same here
Home Assistant 2023.6.1 Supervisor 2023.06.1 Operating System 10.2 Frontend 20230608.0 - latest
Logger: homeassistant.config
Source: config.py:924
First occurred: 11:53:14 (1 occurrences)
Last logged: 11:53:14
Platform error: device_tracker - Requirements for bluetooth_tracker not found: ['pybluez==0.22'].
Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 11:52:52 (9 occurrences)
Last logged: 21:18:36
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-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/__init__.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/osx.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/msbt.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/bluez.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/ble.py -> build/lib.linux-x86_64-cpython-311/bluetooth running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-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-x86_64-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
Same here. Spent time attempting to see if was something wrong with my system. As this package is relatively commonly used with RPi and HA OS I am wondering how it was missed in Beta testing & QA checks. Sorry, just a little niggled as each upgrade my system tends to be getting more and more warnings, and errors in the System log that cant be explained or I am unable to resolve.
Despite my grumbles, you people do an awesome job and deliver and incredibly functional plateform.
Home Assistant 2023.6.1 Supervisor 2023.06.1 Operating System 10.2 Frontend 20230608.0 - latest
Logger: homeassistant.util.package Source: util/package.py:107 First occurred: 10:19:23 PM (6 occurrences) Last logged: 10:42:46 PM
Unable to install package pybluez==0.22: WARNING: Skipping /usr/local/lib/python3.11/site-packages/python_fullykiosk-0.0.11.dist-info due to invalid metadata entry 'name' WARNING: Skipping /usr/local/lib/python3.11/site-packages/python_fullykiosk-0.0.11.dist-info due to invalid metadata entry 'name' 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 WARNING: Skipping /usr/local/lib/python3.11/site-packages/python_fullykiosk-0.0.11.dist-info due to invalid metadata entry 'name' WARNING: Skipping /usr/local/lib/python3.11/site-packages/python_fullykiosk-0.0.11.dist-info due to invalid metadata entry 'name' WARNING: Skipping /usr/local/lib/python3.11/site-packages/python_fullykiosk-0.0.11.dist-info due to invalid metadata entry 'name'
Same issue as https://github.com/home-assistant/core/issues/94189. The bluetooth_tracker is apparently broken until someone upgrades pybluez.
Also seems to be having the same issue which is stopping me from rebooting HA?
Same problem here! Hope it be solved soon!Thanks!
I have the same issue.
duplicate of https://github.com/home-assistant/core/issues/89119
The problem
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-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/__init__.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/widcomm.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/osx.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/msbt.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/btcommon.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/bluez.py -> build/lib.linux-x86_64-cpython-311/bluetooth copying bluetooth/ble.py -> build/lib.linux-x86_64-cpython-311/bluetooth running build_ext building 'bluetooth._bluetooth' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-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-x86_64-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
We have this bug here with
A solution exist with a manual update to the newer version of PyBluez and create a custom integration,... https://community.home-assistant.io/t/how-do-i-fix-unable-to-install-package-pybluez-0-22-error/579478/7
What version of Home Assistant Core has the issue?
core-2023.6.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
bluetooth_tracker
Link to integration documentation on our website
https://www.home-assistant.io/integrations/bluetooth_tracker/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response