Spyder anaconda crashes on Linux with segmentation fault

后端 未结 4 1865
鱼传尺愫
鱼传尺愫 2021-01-06 12:10

I just installed Anaconda on Linux. When trying to open spyder (either from navigator or terminal), it does not work. I get the following error when I try to open it in term

相关标签:
4条回答
  • 2021-01-06 12:21

    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

    0 讨论(0)
  • 2021-01-06 12:22

    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.

    0 讨论(0)
  • 2021-01-06 12:31

    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.

    0 讨论(0)
  • 2021-01-06 12:34

    (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.
    0 讨论(0)
提交回复
热议问题