RivuletStudio / rivuletpy

Robust 3D Neuron Tracing / General 3D tree structure extraction in Python for 3D images powered by the Rivulet2 algorithm. Pain-free Install & use in 5 mins.
BSD 3-Clause "New" or "Revised" License
66 stars 16 forks source link

scikit-image<0.14.2 will raise an ImportError with numpy #12

Closed jackjacktang closed 5 years ago

jackjacktang commented 5 years ago

The setup states the minimum version requirement for scikit-image is 0.12.3, however, this version will raise an error:

ImportError: cannot import name '_validate_lengths'

when executing the following line

from skimage.filters import threshold_otsu

This can refer to an issue in old version of scikit-image package: https://github.com/scikit-image/scikit-image/issues/3649

The minimum version requirement for scikit-image is suggested to be >=0.14.2. Hope the suggestion is helpful to others.

lsqshr commented 5 years ago

Thanks a lot @jackjacktang for raising this issue. This would indeed to cause troubles.

I will change it accordingly.

All the best!