When I run the demo on the github page, I get an OpenGL error :
from pandasgui import show
from pandasgui.datasets import pokemon, titanic, all_datasets
show(pokemon, titanic)
show(**all_datasets)
It works fine with 1 or 2 datasets but with all of them it throws driver and performance errors.
ERROR MESSAGE:
>>> show(pokemon, titanic)
PandasGUI INFO — pandasgui.gui — Opening PandasGUI
<pandasgui.gui.PandasGui object at 0x0000017230D42310>
>>> show(**all_datasets)
PandasGUI INFO — pandasgui.gui — Opening PandasGUI
<pandasgui.gui.PandasGui object at 0x00000172306508B0>
>>> ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0) 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), shared context: 0x30000 (The operation completed successfully.)
GDI::createContext: wglCreateContext failed. (Unknown error 0xc00705aa.)
Unable to create a GL Context.
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.
I ran it again in a new Python terminal session, and then I selected a smaller dataset and it throws a warning and an ERROR:
>>> from pandasgui import show
>>> show(**all_datasets)
PandasGUI INFO — pandasgui.gui — Opening PandasGUI
<pandasgui.gui.PandasGui object at 0x0000016EE6582820>
>>> [17940:27544:0425/172740.921:ERROR:gles2_cmd_decoder.cc(10941)] [.WebGL-0000025A68386020]PERFORMANCE WARNING: Attribute 0 is disabled. This has significant performance penalty
js: [.WebGL-0000025A68386020]PERFORMANCE WARNING: Attribute 0 is disabled. This has significant performance penalty
Package versions
TO GET ALL RELEVANT PACKAGE VERSIONS, RUN THIS COMMAND IN BASH AND PASTE THE OUTPUT
pip freeze | grep -i "pyqt|pandasgui|plotly|ipython|jupyter|notebook"
When I run the demo on the github page, I get an OpenGL error :
It works fine with 1 or 2 datasets but with all of them it throws driver and performance errors.
ERROR MESSAGE:
I ran it again in a new Python terminal session, and then I selected a smaller dataset and it throws a warning and an ERROR:
Environment OS: (eg. Windows 10) Python: (eg. 3.8.13) IDE: (eg. Anaconda Console (terminal window)
Package versions
TO GET ALL RELEVANT PACKAGE VERSIONS, RUN THIS COMMAND IN BASH AND PASTE THE OUTPUT pip freeze | grep -i "pyqt|pandasgui|plotly|ipython|jupyter|notebook"
EXAMPLE OUTPUT