spyder: Segmentation fault (core dumped) when trying to start conda-installed spyder 3.2.8
Developer Note: *This issue is now resolved in Spyder >=3.3.0. Therefore, to fix the problem, just run conda update spyder from the command line (Anaconda Prompt if on Windows) to get the latest version, or pip install -U spyder if you don’t have Anaconda.
If this doesn’t work, then you are experiencing a different issue; try conda install pyqt=5.9 and conda install pyqt=5.6 to see if it fixes it.*
Problem Description
I have Spyder 3.2.8 installed through conda. Two days ago it worked, today I am getting a segmentation fault:
$ spyder
Segmentation fault (core dumped)
What steps will reproduce the problem?
- Type in “spyder” at the command line.
What is the expected output? What do you see instead?
I expect Spyder to start. Instead I get Segmentation fault (core dumped)
Paste Traceback/Error Below (if applicable)
There’s no traceback or error, just Segmentation fault (core dumped)
Package Versions
- Spyder: 3.2.8 (installed with conda)
- Python: 2.7.14
- Qt: 5.6.2
- PyQt: 5.6.0
- Operating System: Ubuntu 16.04 LTS
Dependencies
I can’t start Spyder.
I’ve gone through the troubleshooting document and have tried the various suggestions within including uninstalling and reinstalling through conda. I haven’t tried installing via source, I’m hoping there is something else going on that won’t require that.
Update: aaaaaand ten minutes later it’s working. I did absolutely nothing different since posting this question, I could not tell you what changed.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 3
- Comments: 58 (23 by maintainers)
@addyblue Try
conda install pyopengl@Samarth-Tripathi3, this should be solved by doing
EDIT: Now that Spyder >= 3.3.0 is released with the built-in fix for this, the current solution that should fix this is now just
conda update spyder.@Ceasar9 You shouldn’t need to install
pyopengl, as Spyder has included the fixes built in since 3.3.0 (the current version is 3.3.1). You can update withconda update spyder. Also, you could try downgrading Qt withconda install pyqt=5.6, as well as the other fixes suggested in the Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections,For me worked #conda install pyqt (Use conda install pyqt to get these #Python bindings for the Qt framework.)
thanx it work😊
On Sat, Sep 8, 2018, 6:50 PM Behzad Sezari notifications@github.com wrote:
@CAM-Gerlach, @ccordoba12, sorry – I messed up. I thought I installed Anaconda 5.3 but I only had 5.2 installed. The package timestamp for Anaconda 5.3 on Continuum’s repo website is 09/27 and since I downloaded Anaconda on 09/30, I thought that was the version I had. I pulled my installer out of the Trash and realized it was version 5.2 (Anaconda3-5.2.0-Linux-x86_64.sh).
So when I had originally tried to update Spyder I was actually running a fresh Anaconda 5.2 install. I executed (
conda update conda, conda update spyder) and conda reported that I already had the latest version of Spyder which was version 3.2.8. I was able to verify the version by opening Spyder and going to Help->About.I didn’t realize that I didn’t have Anaconda 5.3 till I started writing this post, so I went ahead and updated anaconda (
conda update anaconda) and it upgraded Spyder to 3.3.1 as indicated.Thanks – sorry about the run-around – I was sure I had version 5.3 running.
@kamrankh068
how about downgrading Qt : conda install pyqt=5.6
I have same problem. Just update qt&pyqt 5.6–>5.9 .