Generic camera failed after 2022.4.2 (Unable to install package av==8.1.0)

Unable to install package av==8.1.0: error: subprocess-exited-with-error × Running setup.py install for av did not run successfully. │ exit code: 1

Worked before…

I can install 9.1.1 manually, but the old version doesn’t install:
pip3 install av :+1:
pip3 install av==8.1.0 :no_entry:

Reinstalled 2022.4.1 and it works again.

Note: Why is HA using such an old version? v9.1.1 is available and works to install, where 8.1.0 fails on macOS.

Upgraded to python 3.10 - still same error.

Fresh installation with 2022.4.1 works
Fresh installation with 2022.4.2 fails

2022.4.1 installs av 9.0.0 which works (but is also older)

Because both the newer versions have a memory leak that has been crashing peoples systems.

Mac’s have plenty of ram don’t they? :slight_smile:

Yes no problem. :relaxed:

But the new version is not accepted by HA.

Is there a way to change the dependency for av 8.1.0 to 9.1.1?

For me that is the only way it will work until it is fixed. But this can take some time.

Fixed by installing ffmpeg@4. Had to brew link ffmpeg@4 to make it work

Should be fixed in 2022.4.4

Thanks for letting me know. This fixed my issue (and introduced a new one - which I was able to fix).

I am very happy with home assistant and the fast progress it makes. This is a very powerful strength of the project. Thanks to all involved.

1 Like