cv2 issue in deploy my project on opencv


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

directory

2026-03-14 07:19:43.885 503 GET /script-health-check (127.0.0.1) 377.60ms

Building dependency tree...[2026-03-14 07:19:44.581769]

Reading state information...[2026-03-14 07:19:44.602663]

Solving dependencies...[2026-03-14 07:19:44.882034]

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

libglib2.0-0 : Depends: libffi7 (>= 3.3~20180313) but it is not installable

Depends: libpcre3 but it is not installable

Recommends: libglib2.0-data but it is not going to be installed

Recommends: shared-mime-info but it is not going to be installed

Recommends: xdg-user-dirs but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

E: The following information from --solver 3.0 may provide additional context:

Unable to satisfy dependencies. Reached two conflicting decisions:

1. libglib2.0-0:amd64=2.66.8-1+deb11u8 is selected for install

2. libglib2.0-0:amd64 Depends libffi7 (>= 3.3~20180313)

but none of the choices are installable:

[no choices]

[07:19:45] ❗️ installer returned a non-zero exit code

main

ajay-majhi/mess_headcount_system/main/streamlit_app.py

Community Cloud does not use the latest version of Debian Linux. I believe it’s still on Bullseye, which I think doesn’t support libglib2.0.