如何在 Python 3.4 上安装 PyGame? [英] How to install PyGame on Python 3.4?

查看:38
本文介绍了如何在 Python 3.4 上安装 PyGame?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

So I have this little problem. When I try to install PyGame for Python 3.4 I download a .whl (wheel?) file and don't know how to use it. Some guys told me something about pip but don't know how to use/install it.

推荐答案

您可以为 Python 3.4 安装轮子文件 这里:

You can install the wheel file for Python 3.4 here:

首先你必须从pip安装wheel包,然后安装Pygame.

First you have to install the wheel package from pip then install Pygame.

pip install wheel

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

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

Here's a video to help you install pip on Youtube.

这篇关于如何在 Python 3.4 上安装 PyGame?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆