AttributeError:模块“ pygame”没有属性“ init”

时间:2019-05-25 21:27:09

标签: pygame attributes

脚本说我的pygame没有属性初始化,我使用的是Windows 8和python 3.7.3版本。

遇到了这个问题,今天才开始使用pygame,不知道该怎么做或如何解决。

import pygame
pygame.init()

win = pygame.display.set_mode((500,500))

我希望它只会显示小屏幕上的东西,但是反而会出现重复出现的问题,请帮忙

enter image description here

0 个答案:

没有答案
相关问题