Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519568 - dev-python/spyder should RDEPEND on dev-python/pygments - spyder: ImportError: No module named pygments.lexers
Summary: dev-python/spyder should RDEPEND on dev-python/pygments - spyder: ImportError...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-10 11:17 UTC by EoD
Modified: 2017-02-22 07:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EoD 2014-08-10 11:17:19 UTC
The following error message appears on starting spyder:

/usr/lib64/python2.7/site-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
  warn("The top-level `frontend` package has been deprecated. "
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/spyder", line 3, in <module>
    start_app.main()
  File "/usr/lib64/python2.7/site-packages/spyderlib/start_app.py", line 72, in main
    from spyderlib import spyder
  File "/usr/lib64/python2.7/site-packages/spyderlib/spyder.py", line 106, in <module>
    from spyderlib.plugins.inspector import ObjectInspector
  File "/usr/lib64/python2.7/site-packages/spyderlib/plugins/inspector.py", line 39, in <module>
    from spyderlib.widgets.ipython import IPythonControlWidget
  File "/usr/lib64/python2.7/site-packages/spyderlib/widgets/ipython.py", line 15, in <module>
    from IPython.frontend.qt.console.rich_ipython_widget import RichIPythonWidget
  File "/usr/lib64/python2.7/site-packages/IPython/qt/console/rich_ipython_widget.py", line 20, in <module>
    from ipython_widget import IPythonWidget
  File "/usr/lib64/python2.7/site-packages/IPython/qt/console/ipython_widget.py", line 25, in <module>
    from frontend_widget import FrontendWidget
  File "/usr/lib64/python2.7/site-packages/IPython/qt/console/frontend_widget.py", line 9, in <module>
    from pygments.lexers import PythonLexer
ImportError: No module named pygments.lexers


After installing dev-python/pygments-1.6 spyder starts just fine.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-02-22 07:06:37 UTC
This dependency is now present in dev-python/spyder-3.0.2 and dev-python/spyder-3.0.2-r1.