[PyQt] Error: Failed to load opengl32sw.dll

Zhao Lee redstone-cold at 163.com
Mon Feb 10 05:03:17 GMT 2020


Got the following error  with :Python 3.7.4, lateset pyqt5 and PyQtWebEngine, on win10 32bit.
As I've said in the last "QtWebEngineProcess.exe – Bad Image” thread, version 5.13.2 of pyqt5 and PyQtWebEngine do not suffer the problem.


Failed to load opengl32sw.dll (�Ҳ���ָ����ģ�顣)

Failed to load and resolve WGL/OpenGL functions

qt.qpa.gl: Software OpenGL failed. Falling back to system OpenGL.

Failed to load opengl32sw.dll (�Ҳ���ָ����ģ�顣)

Failed to load and resolve WGL/OpenGL functions

qt.qpa.gl: Software OpenGL failed. Falling back to system OpenGL.

Failed to load opengl32sw.dll (�Ҳ���ָ����ģ�顣)

Failed to load and resolve WGL/OpenGL functions

qt.qpa.gl: Software OpenGL failed. Falling back to system OpenGL.

Failed to load opengl32sw.dll (�Ҳ���ָ����ģ�顣)

Failed to load and resolve WGL/OpenGL functions

qt.qpa.gl: Software OpenGL failed. Falling back to system OpenGL.

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::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) .

This is most likely caused by not having the necessary graphics drivers installed.




Install a driver providing OpenGL 2.0 or higher, or, if this is not possible, make sure the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcompiler_*.dll) are available in the application executable's directory or in a location listed in PATH.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200210/50b305b5/attachment.html>


More information about the PyQt mailing list