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
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
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.
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.
(Spyder maintainer here) This problem is caused by faulty graphical card drivers and there are two ways to fix it:
pyopengl
with conda.