spyder: Crash after update IPython to 4.0
Hi guys,
I’m just updating my ipython 3.2.1 to 4.0. But, problem appears when i tried to opening Spyder using command
~/anaconda/bin/spyder
And suddenly throwing this following errors:
/home/hadyan/anaconda/lib/python2.7/site-packages/IPython/qt.py:13: ShimWarning: The `IPython.qt` package has been deprecated. You should import from qtconsole instead.
"You should import from qtconsole instead.", ShimWarning)
Traceback (most recent call last):
File "/home/hadyan/anaconda/lib/python2.7/site-packages/spyderlib/spyder.py", line 2336, in main
mainwindow = run_spyder(app, options, args)
File "/home/hadyan/anaconda/lib/python2.7/site-packages/spyderlib/spyder.py", line 2220, in run_spyder
main.setup()
File "/home/hadyan/anaconda/lib/python2.7/site-packages/spyderlib/spyder.py", line 766, in setup
from spyderlib.plugins.inspector import ObjectInspector
File "/home/hadyan/anaconda/lib/python2.7/site-packages/spyderlib/plugins/inspector.py", line 41, in <module>
from spyderlib.widgets.ipython import IPythonControlWidget
File "/home/hadyan/anaconda/lib/python2.7/site-packages/spyderlib/widgets/ipython.py", line 28, in <module>
pygments_patch.apply()
File "/home/hadyan/anaconda/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
Segmentation fault (core dumped)
FYI, i’m completely using anaconda packages with:
- Python 2.7.10
- Spyder 2.3.5.2
- IPython/Jupyer 4.0
Thanks Guys!!!
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 49 (23 by maintainers)
also solved this for me on Ubuntu 15.10, with apt-get installs of spyder, python, ipython, etc. I guess this is a dependency and/or version error in the ubuntu package manager as well?