各位大佬,请教个问题。
在我Win10电脑上运行pyglet的时候,出现下面的提示,窗口全白色,但是同样的代码,在我另外一台Win7电脑上运行就没有问题,是系统设定上有什么问题么?
File "C:\Users\Allenxing\AppData\Local\Programs\Python\Python38\lib\site-packages\pyglet\app\__init__.py", line 107, in run
event_loop.run()
File "C:\Users\Allenxing\AppData\Local\Programs\Python\Python38\lib\site-packages\pyglet\app\base.py", line 169, in run
timeout = self.idle()
File "C:\Users\Allenxing\AppData\Local\Programs\Python\Python38\lib\site-packages\pyglet\app\base.py", line 245, in idle
window.dispatch_event('on_draw')
File "C:\Users\Allenxing\AppData\Local\Programs\Python\Python38\lib\site-packages\pyglet\window\__init__.py", line 1352, in dispatch_event
if EventDispatcher.dispatch_event(self, *args) != False:
File "C:\Users\Allenxing\AppData\Local\Programs\Python\Python38\lib\site-packages\pyglet\event.py", line 408, in dispatch_event
if handler(*args):