Category Archives: installations

pygame installation in PC

Screen Shot 2015-04-30 at 7.01.17 PM

 

https://pypi.python.org/pypi/pip

select "pip-7.0.3.tar.gz (md5, pgp)" and un-compress it.

c:\Users\Jane\Downloads\pip-7.0.3\pip-7.0.3>c:\Python34\python.exe setup.py install
This is inside the folder pip-7.0.3>pip-7.0.3 where there is a file setup.py

Start here is pip is already installed:

from pygame.org/download.shtml click on the bottom link before the unix distribution

Choose last file:
pygame-1.9.2a0-cp34-none-win32.whl

c:\python34>Scripts\pip.exe install (drag from wherever the file is)pygame-1.9.2a0-cp34-none-win32.whl

pygame installation for mac

 

Published on August 28, 2016

 

Published on May 7, 2014

From youtube.com: How to install Python3 + Pygame on mac os x - Mac computer

I hope the video was helpful, drop me a comment if you have any questions or help..

Xcode - https://itunes.apple.com/gb/app/xcode...

http://matthewcarriere.com/2013/08/05/how-to-install-and-use-homebrew/

Python3 - https://www.python.org/

tcltk versions - http://www.activestate.com/activetcl/...

DOCUMENT!!!

Install Python 3

Homebrew has a recipe for Python 3, which we are going to use. Type

brew install python3

and hit Return. Once that is done, verify the Python version by typing

python3 —version

Install Pygame

First install the Mercurial version control system:

brew install mercurial

Note: It didn't work for me at first. To test if it works for you, type:
hg
and press enter. If you don't get an error but a text that starts with Mercurial Distributed SCM, you have no problem. If you do get an error, type again
brew install mercurial
and press enter. Hopefully it will work.
Then do the same for the git version control system, which is needed by a dependency package:

brew install git
Now install all the dependencies of Pygame:

brew install sdl sdl_image sdl_mixer sdl_ttf portmidi

And now, finally:

pip3 install hg+http://bitbucket.org/pygame/pygame

After this is done, verify that it is working:

python3

At the prompt, type:

import pygame
More...

Screen Shot 2014-07-29 at 8.34.04 PM