Error is reported as below:
xu@xu-ThinkCentre-M72e:~$ spyder
Traceback (most recent call last):
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/app/mainwindow.py",
line 2999, in main
mainwindow = run_spyder(app, options, args)
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/app/mainwindow.py",
line 2901, in run_spyder
main.setup()
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/app/mainwindow.py",
line 824, in setup
self.findinfiles = FindInFiles(self)
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/plugins/findinfiles.py",
line 52, in __init__
include = self.include_patterns()
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/plugins/findinfiles.py",
line 105, in include_patterns
for ext in get_edit_extensions():
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/config/utils.py",
line 140, in get_edit_extensions
edit_filetypes = get_edit_filetypes()
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/config/utils.py",
line 118, in get_edit_filetypes
pygments_exts = _get_pygments_extensions()
File
"/home/xu/anaconda2/lib/python2.7/site-packages/spyder/config/utils.py",
line 85, in _get_pygments_extensions
for lx in lexers.get_all_lexers():
File
"/home/xu/anaconda2/lib/python2.7/site-packages/pygments/lexers/__init__.py",
line 53, in get_all_lexers
for lexer in find_plugin_lexers():
File "/home/xu/anaconda2/lib/python2.7/site-packages/pygments/plugin.py",
line 53, in find_plugin_lexers
yield entrypoint.load()
File
"/home/xu/anaconda2/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 2302, in load
return self.resolve()
File
"/home/xu/anaconda2/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 2308, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File
"/home/xu/anaconda2/lib/python2.7/site-packages/IPython/__init__.py", line
48, in <module>
from .core.application import Application
File
"/home/xu/anaconda2/lib/python2.7/site-packages/IPython/core/application.py",
line 25, in <module>
from IPython.core import release, crashhandler
File
"/home/xu/anaconda2/lib/python2.7/site-packages/IPython/core/crashhandler.py",
line 28, in <module>
from IPython.core import ultratb
File
"/home/xu/anaconda2/lib/python2.7/site-packages/IPython/core/ultratb.py",
line 128, in <module>
from IPython.utils.terminal import get_terminal_size
File
"/home/xu/anaconda2/lib/python2.7/site-packages/IPython/utils/terminal.py",
line 22, in <module>
from backports.shutil_get_terminal_size import get_terminal_size as
_get_terminal_size
ImportError: No module named shutil_get_terminal_size
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.