Stream: error, How to install fix on win10 pc

How do I run this command with python on a Windows 10 command prompt?

sudo apt-get install -y python-dev pkg-config libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev

Br Christopher

They command is for Debian Linux type OSs.

As far as I know, Home Assistant may work on Windows but is not supported and not likely tested.

The official documents say

Any Linux, Python 3.5.3 or later

There is a community installation guide for Windows with the following disclaimer:

These guides are provided as-is. Some of these install methods are more limited than the methods above. Some components may not work due to limitations of the platform or because required Python packages aren’t available for that platform.

You may have hit one of those limitations.

I run in python virtual enviroment

You simply cannot install these packages in Windows because they are SPECIFIC to Linux, and that command is SPECIFICALLY for Debian based (apt package manager).

1 Like

Which is not officially supported on Windows by the Home Assistant team. That was my point earlier.

no idea how helpful this is or what your skill set is but see if you can install pyav using these steps

http://docs.mikeboers.com/pyav/develop/installation.html#windows