I cannot reproduce with everything installed fresh via miniconda on Win7.

>>> from skimage.measure import label
>>> import numpy as np
>>> label(np.zeros(5), connectivity=1)
array([0, 0, 0, 0, 0], dtype=int64)

On Friday, June 12, 2015 at 12:20:43 PM UTC-5, stefanv wrote:

On 2015-06-12 08:04:46, Ji Zhou <gashjizhou@gmail.com> wrote:
> I have the same issue when using scikit image (Anaconda
> distribution, which  is up-to-date) to label some image
> objects. Error messages are:

Can you please verify your version?

import skimage
print(skimage.__version__)

Thanks
Stéfan