-
Notifications
You must be signed in to change notification settings - Fork 722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pygame.error: File is not a Windows BMP file #8
Comments
Try reinstalling pygame. Make sure both python and pygame are 32 bit. Also, you can check if each dependency installed correctly. |
your pygame is install not comolete, I have meet this problem months ago you can try sudo apt-get install python-pygame if your system is ubuntu/debian |
All the images used are png files, so it's fine. But BMP might face a problem based on the code below: jpg and bmp don't have '.' and will not be accepted |
self.image = pygame.image.load('images/player.png') |
i got the following error with the recent version from github:
The text was updated successfully, but these errors were encountered: