Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69376 - [opencv] hdf5 is currently a true dependency and not optional for python bindings
Attached to Project:
Arch Linux
Opened by Martin Schmidt (Blind) - Wednesday, 20 January 2021, 00:29 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 January 2021, 02:00 GMT
Opened by Martin Schmidt (Blind) - Wednesday, 20 January 2021, 00:29 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 20 January 2021, 02:00 GMT
|
DetailsDescription:
Currently, when trying to import opencv bindings into python, there is a complaint that hdf5 is not installed and cv2 won't import. As can be seen below, opencv has hdf5 only as an optional dependency. When installing hdf5 explicitly, opencv imports fine. Additional info: * package version(s) Name : opencv Version : 4.5.1-1 Description : Open Source Computer Vision Library Architecture : x86_64 URL : https://opencv.org/ Licenses : BSD Groups : None Provides : None Depends On : tbb openexr gst-plugins-base libdc1394 cblas lapack libgphoto2 openjpeg2 ffmpeg Optional Deps : opencv-samples: samples vtk: for the viz module qt5-base: for the HighGUI module and the Python bindings [installed] hdf5: for the HDF5 module and the Python bindings opencl-icd-loader: For coding with OpenCL [installed] python-numpy: Python bindings [installed] java-runtime: Java interface [installed] * config and/or log files etc. * link to upstream bug report, if any * Steps to reproduce: 1. enter python environment 2. try importing cv2: >>> import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: libhdf5.so.200: cannot open shared object file: No such file or directory |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 20 January 2021, 02:00 GMT
Reason for closing: Not a bug
Additional comments about closing: That's what optional deps are for
Wednesday, 20 January 2021, 02:00 GMT
Reason for closing: Not a bug
Additional comments about closing: That's what optional deps are for