import of skimage.morphology.selem.disk fails

Tony Yu tsyu80 at gmail.com
Mon Dec 17 16:37:35 EST 2012


On Mon, Dec 17, 2012 at 3:08 AM, Guillaume Gay <
guillaume at mitotic-machine.org> wrote:

> Le 17/12/2012 09:03, Stéfan van der Walt a écrit :
>
>  Hi Prashand
>>
>> On Sun, Dec 16, 2012 at 11:50 PM, Parand Darugar <darugar at gmail.com>
>> wrote:
>>
>>> "from skimage.morphology.selem import disk" fails with the message
>>> "ImportError: cannot import name convex_hull_image". Subsequent attempts
>>> to
>>> import result in message "ImportError: cannot import name _template".
>>>
>> No problems on this end.  Could you please send usyour build log?
>>
>> Thanks
>> Stefan
>>
>>  Hi
>
> I had very similar import problems when I checked out the source from
> github last friday, that got sorted out by pulling it again sunday,
> so maybe it is enough for you to update your repository and build again...
>
> Guillaume
>
>
I think Guillaume is correct here. The error looks like a circular import
that was fixed in PR
#394<https://github.com/scikit-image/scikit-image/pull/394>.
Does updating fix the issue?

-Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20121217/fb5300d9/attachment.html>


More information about the scikit-image mailing list