pygame.error: video system not initialized

后端 未结 8 1235
情深已故
情深已故 2020-12-11 05:42

so I get this error when I try to run my pygame code: pygame.error: video system not initialized

i specify where the wing IDE tells me it is in the code below

8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-11 06:09

    If you using class for your pygame window don't use pygame.init() in your class. Use pygame.init() at bottom the libraries.

提交回复
热议问题