--------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-2-df99425b8b1f> in <module>() 2 import numpy as np 3 ----> 4 label(np.zeros(5), connectivity=1)
TypeError: label() got an unexpected keyword argument 'connectivity'
Could you help?
Ji
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)
--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I use conda to update scikit image package on mac. However after undating and restarting the kernel, the scikit image was still 0.10.1 on mac.
Interestingly, on my Windows machine, the same procedure has successfully update scikit image.
One thing I shall point out is that I tried to uninstall anaconda on my mac and was failed.
Ji
--
You received this message because you are subscribed to a topic in the Google Groups "scikit-image" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scikit-image/-YegZib4VK8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to scikit-image...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to scikit-image+unsubscribe@googlegroups.com.
/Users/zhouj/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/skimage
So after uninstalling the Canopy distribution, it is working okay now :-)
Cheers,
Ji