Streamlit dependency problem - ImportError: libGL.so.1: cannot open shared object file: No such file or directory


when i add 'opencv_contrib_python ’ in requirements.txt this shows and doesn’t work.Anyone know about this? thanks in advance.

Hi @tanbin-hasnat-shehab, welcome to the Streamlit community!

Try opencv-python-headless in your requirements.txt file in place of opencv_contrib_python and see if that works.

Best,
Randy

1 Like

thank you so much sir,it worked!!..Its awsome i got so quick response from this website.