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

youssef.mahdia at hotmail.com youssef.mahdia at hotmail.com
Sun Mar 4 16:34:10 CET 2012


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









More information about the Python-list mailing list