Bug#1130606: python3-opencv: ImportError with current libopenexr-3-1-30
Roland Mas
lolando at debian.org
Fri Mar 13 15:21:10 GMT 2026
Package: python3-opencv
Version: 4.10.0+dfsg-5
Severity: important
Dear Maintainer,
The "cv2" module can no longer be imported with current libopenexr-3-1-30.
root at nevermir:/# python3
Python 3.13.12 (main, Feb 4 2026, 15:06:39) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>>
root at nevermir:/# apt update
Get:1 http://ftp.fr.debian.org/debian unstable InRelease [187 kB]
Get:2 http://ftp.fr.debian.org/debian unstable/main amd64 Packages.diff/Index
[63.6 kB]
Get:3 http://ftp.fr.debian.org/debian unstable/main amd64 Packages
T-2026-03-13-1404.32-F-2026-03-11-1400.04.pdiff [157 kB]
Get:3 http://ftp.fr.debian.org/debian unstable/main amd64 Packages
T-2026-03-13-1404.32-F-2026-03-11-1400.04.pdiff [157 kB]
Fetched 407 kB in 1s (296 kB/s)
17 packages can be upgraded. Run 'apt list --upgradable' to see them.
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
root at nevermir:/# dpkg -l libopenexr*
+-- Desired=Unknown/Install/Remove/Purge/Hold
|+- Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
pend
||+ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||| Name Version Architecture Description
+++-=======================-============-============-===========================================
ii libopenexr-3-1-30:amd64 3.1.13-2+b1 amd64 runtime files for the
OpenEXR image library
root at nevermir:/# apt install libopenexr-3-1-30
Upgrading:
libopenexr-3-1-30
Installing dependencies:
libopenjph0.26
Summary:
Upgrading: 1, Installing: 1, Removing: 0, Not Upgrading: 16
Download size: 0 B / 876 kB
Freed space: 3339 kB
Continue? [Y/n]
Selecting previously unselected package libopenjph0.26:amd64.
(Reading database ... 24342 files and directories currently installed.)
Preparing to unpack .../libopenjph0.26_0.26.3-1_amd64.deb ...
Unpacking libopenjph0.26:amd64 (0.26.3-1) ...
Preparing to unpack .../libopenexr-3-1-30_3.4.6+ds-2_amd64.deb ...
Unpacking libopenexr-3-1-30:amd64 (3.4.6+ds-2) over (3.1.13-2+b1) ...
Setting up libopenjph0.26:amd64 (0.26.3-1) ...
Setting up libopenexr-3-1-30:amd64 (3.4.6+ds-2) ...
Processing triggers for libc-bin (2.42-13) ...
root at nevermir:/# python3
Python 3.13.12 (main, Feb 4 2026, 15:06:39) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import cv2
ImportError: libOpenEXR-3_1.so.30: cannot open shared object file: No such file
or directory
>>>
root at nevermir:/# dpkg -l python3-opencv
+-- Desired=Unknown/Install/Remove/Purge/Hold
|+- Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
pend
||+ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||| Name Version Architecture Description
+++-==============-=============-============-=================================================
ii python3-opencv 4.10.0+dfsg-7 amd64 Python 3 bindings for the
computer vision library
root at nevermir:/#
This blocks building other packages in unstable chroots (in my case, datalab).
Thanks,
Roland.
-- System Information:
Debian Release: 13.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.73+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-opencv depends on:
ii libc6 2.41-12+deb13u1
ii libgcc-s1 14.2.0-19
ii libopencv-calib3d410 4.10.0+dfsg-5
ii libopencv-contrib410 4.10.0+dfsg-5
ii libopencv-core410 4.10.0+dfsg-5
ii libopencv-dnn410 4.10.0+dfsg-5
ii libopencv-features2d410 4.10.0+dfsg-5
ii libopencv-flann410 4.10.0+dfsg-5
ii libopencv-highgui410 4.10.0+dfsg-5
ii libopencv-imgcodecs410 4.10.0+dfsg-5
ii libopencv-imgproc410 4.10.0+dfsg-5
ii libopencv-ml410 4.10.0+dfsg-5
ii libopencv-objdetect410 4.10.0+dfsg-5
ii libopencv-photo410 4.10.0+dfsg-5
ii libopencv-shape410 4.10.0+dfsg-5
ii libopencv-stitching410 4.10.0+dfsg-5
ii libopencv-video410 4.10.0+dfsg-5
ii libopencv-videoio410 4.10.0+dfsg-5
ii libopencv-viz410 4.10.0+dfsg-5
ii libstdc++6 14.2.0-19
ii python3 3.13.5-1
ii python3-numpy [python3-numpy2-abi0] 1:2.2.4+ds-1
python3-opencv recommends no packages.
python3-opencv suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list