Invalid config after upgrade to 2023.10.x

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

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

Log details (ERROR)

Logger: homeassistant.setup
Source: setup.py:185
First occurred: November 2, 2023 at 2:29:32 PM (5 occurrences)
Last logged: November 2, 2023 at 2:35:26 PM

  • Setup failed for cloud: Requirements for assist_pipeline not found: [webrtc-noise-gain==1.2.3].
  • Setup failed for mobile_app: Requirements for assist_pipeline not found: [webrtc-noise-gain==1.2.3].
  • Setup failed for assist_pipeline: Requirements for assist_pipeline not found: [webrtc-noise-gain==1.2.3].
  • Setup failed for default_config: (DependencyError(…), Could not setup dependencies: assist_pipeline, cloud, mobile_app)
  • Setup failed for bluetooth_adapters: Requirements for assist_pipeline not found: [webrtc-noise-gain==1.2.3].

And

pip3 install --upgrade webrtc-noise-gain==1.2.3

ERROR: Failed building wheel for webrtc-noise-gain
Failed to build webrtc-noise-gain
ERROR: Could not build wheels for webrtc-noise-gain, which is required to install pyproject.toml-based projects

I take it you’re running a pure Core install? You installed all the packages listed in the Core install guide?

The pip install you ran should provide a log we can use to help you.

It’s installed in virtualenv over a Centos 7 docker container, it should be the Core install.
How to check the packages my installed?

And it’s the output of “Failed to build webrtc-noise-gain”:

(homeassistant_venv) [root@hass .homeassistant]# pip3 install --upgrade webrtc-noise-gain==1.2.3
Collecting webrtc-noise-gain==1.2.3
Using cached webrtc_noise_gain-1.2.3.tar.gz (3.1 MB)
Installing build dependencies … done
Getting requirements to build wheel … done
Installing backend dependencies … done
Preparing metadata (pyproject.toml) … done
Building wheels for collected packages: webrtc-noise-gain
Building wheel for webrtc-noise-gain (pyproject.toml) … error
error: subprocess-exited-with-error

× Building wheel for webrtc-noise-gain (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [76 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/webrtc_noise_gain
copying webrtc_noise_gain/init.py → build/lib.linux-x86_64-cpython-311/webrtc_noise_gain
running build_ext
gcc -std=gnu11 -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/srv/homeassistant/homeassistant_venv/include -I/usr/local/include/python3.11 -c -std=c++17 flagcheck.cpp -o flagcheck.o -std=c++17
gcc: error: unrecognized command line option ‘-std=c++17’
gcc: error: unrecognized command line option ‘-std=c++17’
gcc -std=gnu11 -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/srv/homeassistant/homeassistant_venv/include -I/usr/local/include/python3.11 -c -std=c++17 flagcheck.cpp -o flagcheck.o -std=c++14
gcc: error: unrecognized command line option ‘-std=c++17’
gcc: error: unrecognized command line option ‘-std=c++14’
gcc -std=gnu11 -pthread -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/srv/homeassistant/homeassistant_venv/include -I/usr/local/include/python3.11 -c -std=c++17 flagcheck.cpp -o flagcheck.o -std=c++11
gcc: error: unrecognized command line option ‘-std=c++17’
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 353, in
main()
File “/srv/homeassistant/homeassistant_venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 335, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/srv/homeassistant/homeassistant_venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 434, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 419, in _build_with_temp_dir
self.run_setup()
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 341, in run_setup
exec(code, locals())
File “”, line 563, in
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/init.py”, line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py”, line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py”, line 201, in run_commands
dist.run_commands()
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py”, line 969, in run_commands
self.run_command(cmd)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/dist.py”, line 989, in run_command
super().run_command(command)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py”, line 988, in run_command
cmd_obj.run()
File “/tmp/pip-build-env-eott2jb5/normal/lib/python3.11/site-packages/wheel/bdist_wheel.py”, line 369, in run
self.run_command(“build”)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py”, line 318, in run_command
self.distribution.run_command(command)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/dist.py”, line 989, in run_command
super().run_command(command)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py”, line 988, in run_command
cmd_obj.run()
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py”, line 131, in run
self.run_command(cmd_name)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py”, line 318, in run_command
self.distribution.run_command(command)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/dist.py”, line 989, in run_command
super().run_command(command)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py”, line 988, in run_command
cmd_obj.run()
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py”, line 88, in run
_build_ext.run(self)
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py”, line 345, in run
self.build_extensions()
File “”, line 511, in build_extensions
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/pybind11/setup_helpers.py”, line 283, in build_extensions
ext.cxx_std = auto_cpp_level(self.compiler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-eott2jb5/overlay/lib/python3.11/site-packages/pybind11/setup_helpers.py”, line 266, in auto_cpp_level
raise RuntimeError(msg)
RuntimeError: Unsupported compiler – at least C++11 support is needed!
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for webrtc-noise-gain
Failed to build webrtc-noise-gain
ERROR: Could not build wheels for webrtc-noise-gain, which is required to install pyproject.toml-based projects
(homeassistant_venv) [root@hass .homeassistant]#

Thanks for your help.
The issues has been resolved.

The output of “Failed to build webrtc-noise-gain” show me the “RuntimeError: Unsupported compiler – at least C++11 support is needed!”.

I have used gcc (GCC) 7.3.1 instead gcc (GCC) 4.8.5 for install the webrtc-noise-gain successfully.

Thanks.

1 Like