Opened 9 years ago
Last modified 9 years ago
#48685 closed defect
Upgrading to ipython 4.0.0 breakes spyder — at Initial Version
Reported by: | vs-never@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | py-spyder |
Description
After upgrading py27-ipython to version 4.0.0 spyder IDE fails to launch with the following crash report:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 2367, in main
mainwindow = run_spyder(app, options, args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 2255, in run_spyder
main.setup()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 801, in setup
from spyderlib.plugins.inspector import ObjectInspector
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/plugins/inspector.py", line 41, in <module>
from spyderlib.widgets.ipython import IPythonControlWidget
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/widgets/ipython.py", line 27, in <module>
pygments_patch.apply()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/pygments_patch.py", line 27, in apply
from IPython.frontend.qt.console.pygments_highlighter import RegexLexer
ImportError: No module named pygments_highlighter
It seems that the problem is known by spyder developers, https://github.com/spyder-ide/spyder/issues/2608, and solved in version 2.3.6.