Face a problem : ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Hi, now I have face a problem which is ImportError: libGL.so.1: cannot open shared object file: No such file or directory,my python version is Python 3.11, so this is my app link : https://gjvk4wfyvjjd9c7nfjf4dc.streamlit.app/

this is my github repo: GitHub - Shaohang16410/yoloass

in the manage app part show this message


────────────────────────────────────────────────────────────────────────────────

ImportError: libGL.so.1: cannot open shared object file: No such file or

directory

2025-09-02 14:52:09.921 503 GET /script-health-check (127.0.0.1) 195.57ms

────────────────────── Traceback (most recent call last) ───────────────────────

/home/adminuser/venv/lib/python3.13/site-packages/streamlit/runtime/scriptru

nner/exec_code.py:128 in exec_func_with_error_handling

/home/adminuser/venv/lib/python3.13/site-packages/streamlit/runtime/scriptru

nner/script_runner.py:669 in code_to_exec

/mount/src/yoloass/ultralytics-8.3.163/app.py:3 in <module>

1 # streamlit_app.py

2 import streamlit as st

❱ 3 import cv2

4 import numpy as np

5 import os

6 from ultralytics import YOLO

────────────────────────────────────────────────────────────────────────────────