Spyder anaconda crashes on Linux with segmentation fault

自作多情 提交于 2019-12-01 08:38:17

(Spyder maintainer here) This problem is caused by faulty graphical card drivers and there are two ways to fix it:

  1. Update to Spyder 3.3 or higher.
  2. Install pyopengl with conda.

Based on my experiences, if you have ubuntu 18.04, anaconda 4.5 or higher, and spyder 3.3 or higher, installing pyopengl does not work, since spyder 3.3 should handle it. As recommended above, before start fixing it try to update spyder first:

conda update spyder

then downgrade Qt:

conda install pyqt=5.6

It should probably fix your problem. Other solutions could be found here:

Spyder Troubleshooting-Guide-and-FAQ

as well as :

Basic Troubleshooting and Emergency CPR

Thomas Kramer Reutler

I saw issue on brand new Fedora with new anaconda installation. Just updating the spyder to latest version (in my case 3.3.1) fixed it, without anything else.

(BTW: You can do this even from anaconda navigator itself, just look after the wheel within each application panel in the right corner).

Would recommend to fix anything stepwise, start with upgrading to the latest spyder and if this doesn't work, try the other stuff.

The solutions around here did not work for me. I have uninstalled Anaconda https://docs.anaconda.com/anaconda/install/uninstall/ and reinstalled it https://docs.anaconda.com/anaconda/install/linux/

Only then did the segmentation fault disappear.

Note that this has worked with Ubuntu 14.04 LTS (a old release at the time of this writing) and Anaconda3 5.3.0 with Spyder 3.3.1 (the very latest); versions checked with conda list <package>. The Spyder version supported by Ubuntu 14 is still 2.5.5, so this arrangement lets me have on board a new Spyder without upgrading the distro. Not to mention that reportedly the developers prefer to maintain Spyder in the Anaconda environment rather than elsewhere.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!