Crash after update IPython to 4.0
See original GitHub issueHi 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!!!
Issue Analytics
- State:
- Created 8 years ago
- Comments:49 (23 by maintainers)
Top Results From Across the Web
Why does jupyter notebook server keeps crashing when ...
After that the server crashes everytime .ipynb files are opened. Even the directory will have a server error. I tried it both on...
Read more >Fixing ArcGIS Pro crash with opening notebooks after ...
When I create a project in ArcGIS Pro and try to open a notebook within project (or open Python window or Analysis tab),...
Read more >5.x Series — IPython 8.7.0 documentation
Fix IPython trying to import non-existing matplotlib backends PR #11087 ... Fix a bug in set_next_input leading to a crash of terminal IPython....
Read more >Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the IPython Console, Spyder was unable to launch a new...
Read more >import neuron crash in ipython console
Just to reconfirm the originally proposed solution seem to do the job (OS Lion, Python 2.7.2., ipython 0.13). Haven't looked at the new ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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?
This issue wasn’t resolved. I don’t even have PtQt installed and Spyder never launched since it was installed. Using Ubuntu 14.04.