[PyQt] Error: Failed to load opengl32sw.dll
Phil Thompson
phil at riverbankcomputing.com
Mon Feb 10 12:32:21 GMT 2020
Yes, and as before, you will have to do some more investigation as
nobody else has reported a problem.
On 10/02/2020 12:07, Zhao Lee wrote:
> Yes, but it seems PyQt5 is unaware of those DLLs, so caused the problem
>
> 在 2020-02-10 18:23:57,"Phil Thompson" <phil at riverbankcomputing.com> 写道:
>> 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
More information about the PyQt
mailing list