且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Windows 10 中为 python 3.9 安装 pygame?

更新时间:2023-02-22 21:12:29

许多软件包没有为 Python 3.9 预先构建***,因为它是新的.

Many packages do not have pre-built wheels for Python 3.9 as it is new.

还有 pygame-1.9.6-cp27-cp27m-win_amd64.whl 适用于 Python 2.7

Also pygame-1.9.6-cp27-cp27m-win_amd64.whl is for Python 2.7

***的办法是恢复到 Python 3.8.6 以使用 pip 安装预构建的***

Your best bet is to revert to Python 3.8.6 to install pre-built wheel with pip