On Aug 13, 3:55 pm, Kent Tenney <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> I was just bit by
>
> from image import annotate
>
> ImportError: cannot import name annotate
>
> I found the problem via
>
> import image
> print image.__file__
>
> which made it clear that the wrong image module had been found.
>
> It would be nice if ImportError announced this up front.

Why? It says the file where the error originated in the traceback.
>
> cannot import name annotate from /usr/<snip>/image.pyc
>
> Thanks,
> Kent

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to