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.
If somebody can help me adding PGU
to my pygame
, it would be great.
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!
For more information: https://code.google.com/p/pgu/source/browse/trunk/INSTALL.txt?r=21
Another way to install PGU is by using pip
.
Once you have downloaded the .zip file from here , you can proceed as follows:
pip install "path/to/file/pgu-0.18.zip
For more info about pip, read the Wikipedia page .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.