Re: Error: Failed to load opengl32sw.dll

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On 10/02/2020 05:03, Zhao Lee wrote:
> 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.

All of those DLLs are included in the wheel.

Phil
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.