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
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.