NameError: name ‘glPushMatrix‘ is not defined

The complete error report is shown in the figure below:

The cause of the problem: the pyglet version causes

The version of pyglet I installed locally is changed to 2.0.7, and the problem is solved

pip install  pyglet==1.5.0

Guess you like

Origin blog.csdn.net/li1873997/article/details/130782217
Recommended