AttributeError: 'module' object has no attribute '__path__'

Laura Creighton lac at openend.se
Tue Sep 1 00:15:36 CEST 2015


In a message of Mon, 31 Aug 2015 17:01:07 -0400, Saran Ahluwalia writes:
>Laura,
>
>It does not appear to be the case. I actually had to actually unset the
>PYTHONPATH.
>
>Thanks for your suggestion.
>
>Sincerely,
>Saran

Are you and  kbtyo <ahlusar.ahluwalia at gmail.com> the same person?
If deleting your PYTHONPATH fixed it, then somewhere in that PATH
if not your current working directory, you have a different file
that shadowed something you are trying to import.

Can you make the effort to move your cursor to the bottom of
the mail you are replying to, before you start typing,
so that your reply comes after what was said before, instead of
first thing, and thus before what was said before.

Laura


More information about the Python-list mailing list