DeepLearningFlappyBird icon indicating copy to clipboard operation
DeepLearningFlappyBird copied to clipboard

How to handel png file?

Open yfliao opened this issue 9 years ago • 1 comments

How to handle png file? I got the following message and have no idea how to solve it. I had tried to install pil or pillow but didn't work.

$python deep_q_network.py Traceback (most recent call last): File "deep_q_network.py", line 8, in import wrapped_flappy_bird as game File "game/wrapped_flappy_bird.py", line 19, in IMAGES, SOUNDS, HITMASKS = flappy_bird_utils.load() File "game/flappy_bird_utils.py", line 21, in load pygame.image.load('assets/sprites/0.png').convert_alpha(), pygame.error: File is not a Windows BMP file

yfliao avatar Aug 29 '16 19:08 yfliao

me too pygame.error: File is not a Windows BMP file???

ilovezhenzhen avatar Apr 07 '17 07:04 ilovezhenzhen