spyder: Spyder crashes after I upgraded to 3.2.0 because of OpenGL issues
I 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
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 18 (7 by maintainers)
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 ?