pygame.error: File is not a Windows BMP file (continuation of the problem)

烈酒焚心 提交于 2021-02-05 11:13:51

问题


I have recently started using Mac for coding. Thus, I had to move all my files from my previous computer (Windows). Long story short, everything was good until this error occurred.

pygame.error: File is not a Windows BMP file

I checked Stackoverflow and found this question with the explanation of how to resolve the problem. How to uninstall pygame on mac OSX 10.9.4

But still nothing. I use python3, however, python 2.7 was installed on my computer initially (Idk how) and I checked so that my program does not notice it. Can anyone help me, please?


回答1:


did you check your PIP version if not check it and if it needs to be updated u can update

than u can reinstall PyGame library

Every PC system has Python old version. In order to use Python u have to Update your Python up 3.5 version.. than hope everything will be fine :)



来源:https://stackoverflow.com/questions/64427808/pygame-error-file-is-not-a-windows-bmp-file-continuation-of-the-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!