File “/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 534, in _run_script
exec(code, module.__dict__)
File “/mount/src/fypslr/app.py”, line 2, in
import cv2
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
2024-01-01 14:30:14.031 503 GET /script-health-check (10.13.94.21) 127.36ms
4. Streamlit version: streamlit==1.28.2
python version: opencv-contrib-python==4.8.1.78
opencv-python==4.8.1.78
opencv-python-headless==4.9.0.80
i have tried with the opencv-python-headless and packages.txt still not working, helppp
Just use opencv-contrib-python-headless. Dont mention any version and also remove packages.txt. No need of that. Trust me it will works. Because I have deployed my application with same package which i had mentioned in my requirements.txt file