简体   繁体   English

适用于OS X Lion的Pygame 1.9.2

[英]Pygame 1.9.2 for OS X Lion

Hey im learning to program now so if you need to explain me something explain it a little bit easy so I can understand. 嘿,我现在正在学习编程,因此,如果您需要向我解释一些内容,可以对它进行一点解释,以便我理解。 Back to the problem in the book of O'Reilly "Head first Programing using Python" tells me to download Pygame for Python 3.3 but its only aveliable for Windows. 回到O'Reilly书中的问题,“使用Python进行头程序编程”告诉我下载适用于Python 3.3的Pygame,但这仅适用于Windows。 How can I Install it on OS X Lion or do you know something similar? 如何在OS X Lion上安装它?或者您知道类似的东西吗?

You can try installing from source here . 您可以在此处尝试从源代码安装。 There are instructions on the page for how to install. 页面上有有关如何安装的说明。

Edit: Alternatively, you can follow the instructions here . 编辑:或者,您可以按照此处的说明进行操作。

Here are some commands to install pip: 以下是一些安装pip的命令:

wget http://pypi.python.org/packages/source/p/pip/pip-0.7.2.tar.gz
tar xzf pip-0.7.2.tar.gz
cd pip-0.7.2
python setup.py install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM