You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: