I want to install playwright dependencies on my anvil app

I am trying to use playwright with firefox on my app, and to use it I need to install some dependencies.

I can either use:
sudo playwright install-deps

Or I can install individual packages using:
sudo apt-get install [package_name]

I tried using os.system, subprocess.check_all but none of them worked

You would have to use anvil uplink or host your app locally.

Sweet, thanks for the resource!