wannesm / dtaidistance

Time series distances: Dynamic Time Warping (fast DTW implementation in C)
Other
1.08k stars 184 forks source link

Compatibility with Numpy>=2.0.0 #216

Closed yamhs closed 1 month ago

yamhs commented 1 month ago

This package is currently not compatible with NumPy v2.0. To avoid issues, please constrain the dependency to numpy <2.0.0. Alternatively, consider recompiling the package with the latest version of NumPy.

wannesm commented 1 month ago

The current release is compatible with numpy 2. The precompiled version is with numpy <2 though as that was still the default when we released. Is that what you mean? Using pip with no-binary should fix it for now if you want to use numpy 2 (but requires compiling). Or use Conda where we haven both versions precompiled.

yamhs commented 1 month ago

Thanks for your quick response.

For poetry users, you need

# poetry.toml

[installer]
no-binary = ["dtaidistance"]