question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash after update IPython to 4.0

See original GitHub issue

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!!!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:49 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
prhbrtcommented, Nov 21, 2015
sudo pip install --upgrade spyder

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?

0reactions
lgmventuracommented, Jan 14, 2016

This issue wasn’t resolved. I don’t even have PtQt installed and Spyder never launched since it was installed. Using Ubuntu 14.04.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found