Error while using mediapipe while deploying ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Hey recently I have been working on an app for integration of streamlit and mediapipe
but I am getting an error while I am trying to deploy it
the error is
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

I am adding the link to my repo check it out and let me know the solutions

Hey @Pavankunchala,

Is this deploying to Streamlit Sharing right? Does this error come up as you are trying to deploy, and can you take a screenshot and possibly download and send your log file?

Thanks!
Happy Streamlit-ing!
Marisa


Here is the screenshot for the logs

Solution

In Requirements.txt - change opencv_python to opencv-python-headless