Why is my PyOpenGL code is not run?

While trying to run on Win7 x64 example of displaying 3d graphics in PyQtGraph I get the error:
Traceback (most recent call last):
 File "C:\Users\user\project\PycharmProjects\pyqt_samples\default_venv\lib\site-packages\pyqtgraph\opengl\GLViewWidget.py", line 171, in paintGL
glViewport(*self.getViewport())
 File "C:\Users\user\project\default_venv\lib\site-packages\OpenGL\platform\baseplatform.py", line 415, in __call__
 return self( *args, **named )
 File "C:\Users\user\project\PycharmProjects\pyqt_samples\default_venv\lib\site-packages\OpenGL\error.py", line 232, in glCheckError
 baseOperation = baseOperation,
OpenGL.error.GLError: GLError(
 err = 1282,
 description = b'\xed\xe5\xe4\xee\xef\xf3\xf1\xf2\xe8\xec\xe0\xff \xee\xef\xe5\xf0\xe0\xf6\xe8\xff',
 baseOperation = glViewport,
 cArguments = (0, 0, 828, 361)
)


I noticed that the error appears after the initialization and display of the main window.
And my code works fine on another machine (only Win10 x64)
What could be the problem?
April 3rd 20 at 18:46
0 answer

Find more questions by tags PythonOpenGL