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__'

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; "subject:' ": 0.07; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:module': 0.09; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:object': 0.16; 'laura': 0.18; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'trying': 0.22; 'module': 0.25; 'received:se': 0.29; 'cc:no real name:2**1': 0.29; 'file': 0.34; 'so,': 0.35; 'something': 0.35; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'your': 0.60; 'header:Message-Id:1': 0.61; 'subject:skip:A 10': 0.63; 'else.': 0.66; 'header:In-reply- to:1': 0.84
To kbtyo <ahlusar.ahluwalia@gmail.com>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: AttributeError: 'module' object has no attribute '__path__'
In-reply-to <97927258-d389-4bd6-a861-e122e4247ac0@googlegroups.com>
References <97927258-d389-4bd6-a861-e122e4247ac0@googlegroups.com>
Comments In-reply-to kbtyo <ahlusar.ahluwalia@gmail.com> message dated "Mon, 31 Aug 2015 12:29:40 -0700."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <20527.1441052236.1@fido>
Date Mon, 31 Aug 2015 22:17:16 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Mon, 31 Aug 2015 22:17:18 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.19.1441052247.23514.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441052247 news.xs4all.nl 23756 [2001:888:2000:d::a6]:50717
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95799

Show key headers only | 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