Spyder crashes after I upgraded to 3.2.0 because of OpenGL issues
See original GitHub issueI just upgraded Spyder to 3.2.0 (Python 3), and it stopped working. Specifically, when I tried launching it at a terminal with spyder, I got the following message:
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Aborted (core dumped)
It seems like a problem stemming from OpenGL? I tried making a fresh virtualenv and just installed spyder and pyqt5, and it still doesn’t work…
However, the same works in Python 2.
What steps will reproduce the problem?
mkvirtualenv --python=/usr/bin/python3 testenvpip install pyqt5 spyderspyder
Versions and main components
- Spyder Version: 3.2.0
- Python Version: 3.5.2
- Qt Version: 5.9.1
- PyQt Version: 5.9
- Operating system: Ubuntu 16.04 LTS
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Spyder crashes on startup and the reset command doesn't ...
I just had the same issue, with Spyder 3.2.8, Anaconda 3.5, Python 3.6 and Windows 10. I fixed it by running anaconda prompt...
Read more >Bug listing with status RESOLVED with resolution TEST ...
Bug:233 - "Emacs segfaults when merged through the sandbox." status:RESOLVED resolution:TEST-REQUEST severity:critical · Bug:3888 - "yenta_socket module not ...
Read more >Crashes on launch (OpenGL error) ever since the multiplayer ...
I'm playing inside a Windows 11 virtual machine, but the game worked fine until the multiplayer update. Now it's complaining about having ...
Read more >Untitled
Update to 1.3.7 - Fix regression in Spyder support - ccmx files were not being handled - Update to latest upstream release -...
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

As For Me, i just
conda install pyqt=4and thenconda install tensorflow-gpu(something you need, which will install pyqt5 automaticly) thing goes well now, maybe it just because i miss something when i install spyder@ccordoba12 I also this error before the
Failed to create OpenGL contextmessage :AttributeError: '_ModuleMock' object has no attribute 'PLUGIN_CLASS'Any idea ?