Invalid config after upgrade to 2024.8.x

Invalid config
The following integrations and platforms could not be set up:

cloud (Show logs)
homekit (Show logs)
conversation (Show logs)
assist_pipeline (Show logs)
mobile_app (Show logs)
default_config (Show logs)
bluetooth_adapters (Show logs)

Please check your config and logs.

Log details (ERROR)

Logger: homeassistant.setup
Source: setup.py:269
First occurred: 10:57:53 AM (5 occurrences)
Last logged: 10:59:22 AM

  • Setup failed for ‘cloud’: Requirements for assist_pipeline not found: [‘pymicro-vad==1.0.1’].
  • Setup failed for ‘assist_pipeline’: Could not setup dependencies: conversation
  • Setup failed for ‘mobile_app’: Requirements for assist_pipeline not found: [‘pymicro-vad==1.0.1’].
  • Setup failed for ‘default_config’: Could not setup dependencies: assist_pipeline, cloud, conversation, mobile_app
  • Setup failed for ‘bluetooth_adapters’: Requirements for assist_pipeline not found: [‘pymicro-vad==1.0.1’].

pip3 install --upgrade pymicro-vad==1.0.1

WARNING: Ignoring invalid distribution ~ (/srv/homeassistant/homeassistant_venv/lib/python3.12/site-packages)
WARNING: Ignoring invalid distribution ~ (/srv/homeassistant/homeassistant_venv/lib/python3.12/site-packages)
Collecting pymicro-vad==1.0.1
Downloading pymicro_vad-1.0.1.tar.gz (135 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.6/135.6 kB 308.6 kB/s eta 0:00:00
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Building wheels for collected packages: pymicro-vad
Building wheel for pymicro-vad (pyproject.toml) … error
error: subprocess-exited-with-error

× Building wheel for pymicro-vad (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/pymicro_vad
copying pymicro_vad/init.py → build/lib.linux-x86_64-cpython-312/pymicro_vad
running build_ext
building ‘micro_vad_cpp’ extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/tmp
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/kissfft
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/kissfft/tools
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/tensorflow
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/tensorflow/lite
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/tensorflow/lite/experimental
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/tensorflow/lite/experimental/microfrontend
creating build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/tensorflow/lite/experimental/microfrontend/lib
gcc -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DVERSION_INFO=1.0.1 -I/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad -I/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/kissfft -I/tmp/pip-build-env-2fi5qwz9/overlay/lib/python3.12/site-packages/pybind11/include -I/srv/homeassistant/homeassistant_venv/include -I/usr/local/include/python3.12 -c /tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/kissfft/kiss_fft.cc -o build/temp.linux-x86_64-cpython-312/tmp/pip-install-8pqamhxf/pymicro-vad_553f6cd071124e6da40d988352ea202f/micro_vad/kissfft/kiss_fft.o -fvisibility=hidden -g0 -std=c++17 -DFIXED_POINT=16
gcc: error: unrecognized command line option ‘-std=c++17’
error: command ‘/usr/bin/gcc’ failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pymicro-vad
Failed to build pymicro-vad
ERROR: Could not build wheels for pymicro-vad, which is required to install pyproject.toml-based projects
WARNING: Ignoring invalid distribution ~ (/srv/homeassistant/homeassistant_venv/lib/python3.12/site-packages)

And another ERROR:
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aiohttp-fast-url-dispatcher 0.3.0 requires aiohttp<3.10,>=3.8.5, but you have aiohttp 3.10.2 which is incompatible.
async-upnp-client 0.39.0 requires aiohttp~=3.9.1, but you have aiohttp 3.10.2 which is incompatible.

1 Like

Is this a “Core” installation?

I guess it is, but you should mention it, considering the very few users of that installation method.
You should also mention your OS + version.

I’ve run into the same issue with “Core” on a Centos 7 distribution. Manually installing the package via pip install -v "pymicro-vad" failed due a compiler option that is not available the 4.8 version of g++. This was fixed by installing an updated g++ environment, activating it and then installing the package, e.g.,

  • yum install centos-release-scl
  • yum install devtoolset-11
  • scl enable devtoolset-11 – bash
  • pip install --force-reinstall -v “pymicro-vad==1.0.1”

Be sure to specify the version as my default was 1.0.2, which is incompatible.

1 Like