How to get sys-audio working in other VMs using an audio jack?

You need to patch the file after installing all the required packages.
It seems that you’re using fedora template, fro fedora it’s python3.12 directory.
You need to patch the file in sys-audio template.
The was mostly merged recently and if you have latest updates installed in your template then you need to apply a different patch:

Follow the guide: