Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21228
| Date | 2012-03-05 11:56 +0100 |
|---|---|
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| Subject | Re: AttributeError: 'module' object has no attribute 'logger' |
| References | <b0ffcbbb-d5f6-4dc3-badb-0be2e3799acc@ge5g2000vbb.googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.402.1330945014.3037.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Find similar | Unroll 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