idealo / imagededup

😎 Finding duplicate images made easy!
https://idealo.github.io/imagededup/
Apache License 2.0
5.17k stars 458 forks source link

Pin numpy version to 1.26.4 #218

Closed tanujjain closed 4 months ago

tanujjain commented 4 months ago

WHAT Pin numpy version to 1.26.4

WHY numpy 2.0.0 (latest as of now) seems to have issues with pytorch which leads to the exception- RuntimeError: Numpy is not available whenever torch.from_numpy is called.

HOW Pin numpy to the specified version in setup.py

IMPLICATIONS The build fails on python<3.10. Several other packages, including numpy, scipy and matplotlib have dropped support for python<3.10. This PR is supported for python 3.10. In the next release, support for python 3.11 will also be added.