Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21201 > unrolled thread
| Started by | youssef.mahdia@hotmail.com |
|---|---|
| First post | 2012-03-04 07:34 -0800 |
| Last post | 2012-03-05 11:56 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | youssef.mahdia@hotmail.com |
|---|---|
| Date | 2012-03-04 07:34 -0800 |
| Subject | AttributeError: 'module' object has no attribute 'logger' |
| Message-ID | <b0ffcbbb-d5f6-4dc3-badb-0be2e3799acc@ge5g2000vbb.googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
|---|---|
| Date | 2012-03-05 11:56 +0100 |
| Message-ID | <mailman.402.1330945014.3037.python-list@python.org> |
| In reply to | #21201 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web