The ModuleNotFoundError suggests that you’re missing a required prerequisite library. Could you try adding opencv-python-headless to your requirements.txt file.
Sometimes the package opencv-python-headless is giving errors with python 3.9 version in the streamlit cloud @dataprofessor. Instead of that use opencv-python-contrib-headless.
Thank you for your response about that.
I will try your advice, by the way, I know you from YouTube videos, and some of your videos about Streamlit it is really helpful for me.
2024-01-09 11:08:58.565 Uncaught app exception
Traceback (most recent call last):
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/pyweb/streamlit_app.py”, line 3, in
from app import home, fe_LEDs
File “/mount/src/pyweb/app/fe_LEDs.py”, line 3, in
import cv2
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
2024-01-09 11:08:58.674 503 GET /script-health-check (10.12.180.109) 111.78ms
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
2024-01-09 11:12:28.678 503 GET /script-health-check (10.12.180.109) 123.44ms
[11:12:33] We have encountered an unexpected problem. If this issue persists, please contact support