问题描述
我正在Windows 8上使用pygame
在Python中开发游戏,我想添加一些按钮和内容.我找到了一个名为 PGU
的库,但是我真的不知道如何安装它
I am developing a game in Python with pygame
on Windows 8, and I wanted to add some buttons and stuff. I found a library called PGU
, but I don't really know how to install it.
如果有人可以帮助我将PGU
添加到我的pygame
中,那就太好了.
If somebody can help me adding PGU
to my pygame
, it would be great.
推荐答案
我刚刚找到了答案.下载PGU并将其解压缩时,该文件夹中还有另外两个名为"pgu"和"data"的文件夹.将它们复制到项目/程序的根文件夹中,就可以完成!
I just found the answer. When you download PGU and unzip it, inside the folder there are other two folders named "pgu" and "data". Copy them into your project's/program's root folder and you're done!
有关更多信息: https://code.google.com/p/pgu/source/browse/trunk/INSTALL.txt?r=21
这篇关于Python PGU库-如何安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!