Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95800

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

From Laura Creighton <lac@openend.se>
Subject Re: AttributeError: 'module' object has no attribute '__path__'
References <97927258-d389-4bd6-a861-e122e4247ac0@googlegroups.com> <201508312017.t7VKHG8O020529@fido.openend.se> <CAC9q6M5S69JL1GVOp_eu0Kj_WPgunzHvFsM6W4kC2Y0gty7D+w@mail.gmail.com>
Date 2015-09-01 00:15 +0200
Newsgroups comp.lang.python
Message-ID <mailman.21.1441059352.23514.python-list@python.org> (permalink)

Show all headers | View raw


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@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

AttributeError: 'module' object has no attribute '__path__' kbtyo <ahlusar.ahluwalia@gmail.com> - 2015-08-31 12:29 -0700
  Re: AttributeError: 'module' object has no attribute '__path__' Laura Creighton <lac@openend.se> - 2015-08-31 22:17 +0200
  Re: AttributeError: 'module' object has no attribute '__path__' Laura Creighton <lac@openend.se> - 2015-09-01 00:15 +0200
    Re: AttributeError: 'module' object has no attribute '__path__' Rustom Mody <rustompmody@gmail.com> - 2015-08-31 20:32 -0700
      Re: AttributeError: 'module' object has no attribute '__path__' Chris Angelico <rosuav@gmail.com> - 2015-09-01 14:07 +1000

csiph-web