core: 0.110.2 : STREAM : Unable to install package av==8.0.1: Failed building wheel for av
The problem
After installing 0.110.2, an error occured (different from 0.110.1) for Stream component: “Unable to install package av==8.0.1: Failed building wheel for av”
The error for 0.110.1 was related to av==7.0.1 (similar error but different version of av)
ffmpeg version: ffmpeg version 4.1.4-1+rpt7~deb10u1
Environment
- Home Assistant Core release with the issue: 0.110.2
- Last working Home Assistant Core release (if known): 0.109.6
- Operating environment (Home Assistant/Supervised/Docker/venv): venv
- Integration causing this issue:
- Link to integration documentation on our website:
Problem-relevant configuration.yaml
Traceback/Error logs
2020-05-25 22:18:48 ERROR (SyncWorker_9) [homeassistant.util.package] Unable to install package av==8.0.1: Failed building wheel for av
Command "/srv/homeassistant/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-wdd7rhjl/av/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-6zfvi36b/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/av" failed with error code 1 in /tmp/pip-install-wdd7rhjl/av/
2020-05-25 22:18:48 ERROR (MainThread) [homeassistant.setup] Setup failed for stream: Requirements for stream not found: ['av==8.0.1'].
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (2 by maintainers)
@hunterjm Thanks… I installed av 8.0.1 manually but some dependencies were missing… So prior installing av with “pip install av” in my venv (I uninstalled the running version from my venv), I ran the following command with pi username :
sudo apt-get install libavformat-dev libavdevice-dev libavcodec-dev libavfilter-dev libavutil-dev libswscale-dev libswresample-dev
after that installation of av was successful with “pip install av” ! I have now av 8.0.1 !