Open luhk opened 5 years ago
Besides, OpenCV is now at version 4.1.1. Will there be an update?
As far as I can tell, this also prevents OpenCV from being installed at all with latest Anaconda, since OpenCV depends on HDF5 1.10.2 and Anaconda on 1.10.4:
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package hdf5 conflicts for:
anaconda==2019.10 -> h5py==2.9.0=py37h3134771_0 -> hdf5[version='>=1.10.4,<1.10.5.0a0']
opencv=3.4.2 -> hdf5[version='>=1.10.2,<1.10.3.0a0']
Any plan for an update here? This also prevents any user of OpenCV from using Python 3.8.
I'm happy to help here, although it doesn't seem there's anything that needs doing, other than just rebuilding the package. I rebuilt what appears to be the current recipe from @mingwandroid and it picked up the new HDF5 without issues. With the resulting package at our channel our users can now install our conda packages again (which depend on opencv) with anaconda or Python 3.8. It was easy enough to build for Python 3.8 too with a quick /3.7m?/3.8/
, /37m?/38/
replace (although obviously that's a quick hack).
This works for us but obviously it would be preferable if the package in base were up to date.
Actual Behavior
Using
conda install pytables
, hdf5 1.10.4 and pytables 3.5.2 get installed. Afterwards,conda install opencv
downgrades hdf5 to 1.10.2 and in turn pytables to 3.4.4, which is incompatible with numpy 1.16 and therefore breaks pandas; see PyTables/Pytables#717.Expected Behavior
opencv does not depend on the patch level of the hdf5 version number.
Steps to Reproduce
conda install pandas
conda install pytables
conda install opencv
Anaconda or Miniconda version:
Operating System:
conda info
conda list --show-channel-urls