This error always happen, i dont know how to fix it

Im trying to deploy my sign language detection app that are using webrtc, But this error always happen. How can i fix this.

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)File "/app/detection/detection.py", line 4, in <module>
    import cv2File "/home/appuser/venv/lib/python3.9/site-packages/cv2/__init__.py", line 181, in <module>
    bootstrap()File "/home/appuser/venv/lib/python3.9/site-packages/cv2/__init__.py", line 153, in bootstrap
    native_module = importlib.import_module("cv2")File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)

This is my repo link
https://github.com/FourthSyte/Detection.git

Your application seems to rely on mediapipe which is currently a pain to install in a headless environment.
Maybe you find some hints here:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.