Invalid config Home Assistant Core 2021.7.0

After upgrade to Home Assistant Core 2021.7.0
happens following:

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

cloud
camera
mobile_app
default_config
Please check your config and logs.

Log:

Setup failed for cloud: Unable to import component: No module named 'av'
11:58:32 AM – (ERROR) setup.py - message first occurred at 11:57:58 AM and shows up 4 times
Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, mobile_app
11:58:32 AM – (ERROR) setup.py

Please help.

I had the same. Try sudo apt-get install libavformat-dev libavdevice-dev libavcodec-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev then pip install av.

1 Like

Whoa! Plenty of libraries installed, but it worked. Thank you @amaximus very much!

Just remark if somebody have same problem, if your instalation use venv as mine, activate venv before pip3 install av.

Hey there, what would the commands be for FreeBSD?

Hi.
For an installation of Assistant Supervised, how to fix it, I can NOT run pip install av, Thanks