I’ve written an app, that uses the mkvmerge from mkvtoolnix. But when I run uploaded code in the cloud, I face an error sh: 1: mkvmerge: not found
. I tried adding os.system("apt-get install mkvtoolnox")
to my code, but got
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Maybe I’m missing something obvious, but is there any way to install an utility, so that my code in the cloud can use it?
P.S.Github: GitHub - mishadobrits/SVA4 at dev
App: https://share.streamlit.io/mishadobrits/sva4/dev/.streamlit/streamlit.py
Put the binary dependencies in packages.txt
Thank you, now it works fine!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.