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


Groups > comp.lang.python > #21228

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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=4044facd4=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'skip:p 40': 0.04; 'subject:module': 0.04; 'attribute': 0.07; 'subject:object': 0.07; 'skip:" 60': 0.09; 'skip:" 40': 0.15; "subject:' ": 0.15; '58,': 0.16; ':o)': 0.16; 'emacs,': 0.16; 'sage,': 0.16; 'cc:addr:python- list': 0.16; 'wrote:': 0.18; '(most': 0.21; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'traceback': 0.24; 'cc:2**0': 0.26; 'skip:_ 20': 0.26; 'all,': 0.27; 'import': 0.27; 'installing': 0.29; 'version.': 0.29; 'problem': 0.29; 'cc:addr:python.org': 0.29; 'skip:p 30': 0.29; 'date:': 0.30; 'constructive': 0.30; 'version': 0.32; 'there': 0.33; 'skip:- 70': 0.33; 'header:User-Agent:1': 0.33; 'object': 0.33; 'file': 0.34; '17,': 0.34; 'last):': 0.34; 'probably': 0.35; 'install': 0.35; 'stable': 0.38; 'screen': 0.38; 'non': 0.38; 'release': 0.40; 'type': 0.61; '11,': 0.68; 'email addr:hotmail.com': 0.72; 'to:addr:hotmail.com': 0.89; 'appeared': 0.91
X-IronPort-AV E=Sophos;i="4.73,533,1325458800"; d="scan'208";a="213235"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Mon, 05 Mar 2012 11:56:51 +0100
From Jean-Michel Pichavant <jeanmichel@sequans.com>
User-Agent Mozilla-Thunderbird 2.0.0.24 (X11/20100328)
MIME-Version 1.0
To youssef.mahdia@hotmail.com
Subject Re: AttributeError: 'module' object has no attribute 'logger'
References <b0ffcbbb-d5f6-4dc3-badb-0be2e3799acc@ge5g2000vbb.googlegroups.com>
In-Reply-To <b0ffcbbb-d5f6-4dc3-badb-0be2e3799acc@ge5g2000vbb.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.402.1330945014.3037.python-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330945014 news.xs4all.nl 6945 [2001:888:2000:d::a6]:42037
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21228

Show key headers only | View raw


youssef.mahdia@hotmail.com wrote:
> hi all, when installing sage, there is a problem with emacs.py
> so, this screen appeared after rynning ./sage
> ----------------------------------------------------------------------
> | Sage Version 4.4.2, Release Date: 2010-05-19                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/zid/sage/local/bin/sage-ipython", line 18, in <module>
>     import IPython
>   File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line
> 58, in <module>
>     __import__(name,glob,loc,[])
>   File "/usr/lib/python2.7/dist-packages/IPython/ipstruct.py", line
> 17, in <module>
>     from IPython.genutils import list2dict2
>   File "/usr/lib/python2.7/dist-packages/IPython/genutils.py", line
> 114, in <module>
>     import IPython.rlineimpl as readline
>   File "/usr/lib/python2.7/dist-packages/IPython/rlineimpl.py", line
> 18, in <module>
>     from pyreadline import *
>   File "/usr/local/lib/python2.7/dist-packages/pyreadline-2.0_dev1-
> py2.7.egg/pyreadline/__init__.py", line 11, in <module>
>     from . import unicode_helper, logger, clipboard, lineeditor,
> modes, console
>   File "/usr/local/lib/python2.7/dist-packages/pyreadline-2.0_dev1-
> py2.7.egg/pyreadline/modes/__init__.py", line 3, in <module>
>     from . import emacs, notemacs, vi
>   File "/usr/local/lib/python2.7/dist-packages/pyreadline-2.0_dev1-
> py2.7.egg/pyreadline/modes/emacs.py", line 11, in <module>
>     import pyreadline.logger as logger
> AttributeError: 'module' object has no attribute 'logger'
>
>
>
> any one can help me pleaseeee
>
> regards
> Zid
>
>
>
>
>   
You probably have the wrong version of pyreadline. Try to install the 
last stable 1.7.1 or look for emacs.py requirement for the pyreadline 
version.

Non constructive solution : use vim :o)

JM

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


Thread

AttributeError: 'module' object has no attribute 'logger' youssef.mahdia@hotmail.com - 2012-03-04 07:34 -0800
  Re: AttributeError: 'module' object has no attribute 'logger' Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-03-05 11:56 +0100

csiph-web