osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Laura,

It does not appear to be the case. I actually had to actually unset the
PYTHONPATH.

Thanks for your suggestion.

Sincerely,
Saran

On Mon, Aug 31, 2015 at 4:17 PM, Laura Creighton <lac at openend.se> wrote:

> Check and see if you have a file in your working directory with the
> very same name as a module you are trying to import, or the_same_name.py
> If so, change the name of that file to something else.
>
> Laura
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150831/1b80a24d/attachment.html>