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


Groups > comp.lang.python > #95799

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>
Date 2015-08-31 22:17 +0200
Newsgroups comp.lang.python
Message-ID <mailman.19.1441052247.23514.python-list@python.org> (permalink)

Show all headers | View raw


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

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