python - 如何在 Python 上安装 PyGame?

标签 python pygame pip python-3.4

所以我有这个小问题。当我尝试为 Python 3.4 安装 PyGame 时,我下载了一个 .whl(轮子?)文件,但不知道如何使用它。有些人告诉我有关 pip 的一些信息,但不知道如何使用/安装它。

最佳答案

您可以为 Python 3.4 安装 wheel 文件 here :

首先,您必须从 pip 安装 wheel 包,然后安装 Pygame。

pip install wheel

pip install pygame‑1.9.2a0‑cp34‑none‑win_amd64.whl

这是一个帮助您在 Youtube 上安装 pip 的视频.

关于python - 如何在 Python 上安装 PyGame?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28127730/

相关文章:

python - Windows 10 中 Python 3.7 中的 pip 安装索引器错误

python - fillna 与 nametuple 或任何其他类 pandas

python - functools.partial 和 functools.reduce 之间的交互

python - 单元测试 Web 应用程序

python - 使用 ModernGL 为 pygame 创建上下文

python - 在 python setup.py egg_info 上使用 pip 中断安装

python - boolean 索引的多个标准

pygame - 让一个类跟踪它的实例是 Pythonic 吗?

python - 如何在pygame中让粒子跟随我的鼠标

python - 在 Windows 7 x64 中的 PyPy3.5 v5.10 上使用 ensurepip 进行 pip 安装