wannesm / dtaidistance

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

Install fails #195

Closed adyanth closed 1 year ago

adyanth commented 1 year ago

Pip install does not work without --no-build-isolation

Failing Command: pip install dtaidistance==2.3.2

Working Command: pip install dtaidistance==2.3.2 --no-build-isolation --no-deps

borisyue1 commented 1 year ago

Facing a similar issue when trying to install dtaidistance==2.3.11 from Github at git+https://github.com/wannesm/dtaidistance.git#egg=dtaidistance. I believe this is due to incompatibilities introduced by the new Cython version 3.0.0 that was released earlier today. Installing cython==0.29.36 manually and then installing dtaidistance with the --no-build-isolation flag fixed things for me.

adyanth commented 1 year ago

It is https://github.com/wannesm/dtaidistance/blob/0d1b41782aaabc4c05a1722dd8379f35939a6d55/pyproject.toml#L7 that has to be pinned for it to build without --no-build-isolation.