【问题标题】:pygame.error: File is not a Windows BMP file (continuation of the problem)pygame.error: File is not a Windows BMP file(问题延续)
【发布时间】:2020-10-19 12:56:13
【问题描述】:

我最近开始使用 Mac 进行编码。因此,我不得不从我以前的计算机 (Windows) 中移动我的所有文件。长话短说,在发生此错误之前一切都很好。

pygame.error: File is not a Windows BMP file

我检查了 Stackoverflow,发现这个问题解释了如何解决问题。 How to uninstall pygame on mac OSX 10.9.4

但还是一无所获。 我使用 python3,但是,python 2.7 最初安装在我的计算机上(Idk 如何),我检查了我的程序没有注意到它。 有人可以帮帮我吗?

【问题讨论】:

    标签: python python-3.x pygame


    【解决方案1】:

    如果没有检查,您是否检查了您的 PIP 版本,如果需要更新,您可以更新

    你可以重新安装 PyGame 库

    每个 PC 系统都有 Python 旧版本。为了使用 Python,你必须将你的 Python 更新到 3.5 版本......希望一切都会好起来:)

    【讨论】:

    • 我使用命令“pip3 uninstall pygame”和“pip3 install pygame”来完成你的第二个建议
    • 我已经安装了 python 3.8
    猜你喜欢
    • 2021-06-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-08-20
    • 1970-01-01
    相关资源
    最近更新 更多