PDA

View Full Version : pygame 1.9 and python 3 install help




ShrewdPrankster
Mar 27, 2013, 07:06 PM
Does anyone know how to install pygame for use with python 3? I have tried using these instructions:

http://florian-berger.de/en/articles/installing-pygame-for-python-3-on-os-x

I managed to get everything to work until the pip installation. I did manage to get pip installed (not sure if it installed correctly though) but cannot get pygame to install.

Is there another method or a package already made that is not on the pygame.org site? Any help would be appreciated. Thanks

Update:

I managed to get pygame to install for python 3.3 however, I do get an error when trying to execute some code. The error is a pygame.mixer stating it cannot load the sound file. I tried it in Windows with Parallels and it works perfectly. As far as I can tell all dependencies are installed per the instructions from the link supplied.

- Chris



robvas
Mar 28, 2013, 10:19 AM
Cut and paste exact error (or post a screenshot)

ShrewdPrankster
Mar 28, 2013, 02:43 PM
self.movesound = pygame.mixer.Sound(os.path.join('sound', 'menumove.ogg'))
pygame.error: Unable to open file 'sound/menumove.ogg'

The only thing I can think of is that I am missing a module for when compiling pygame.

Cut and paste exact error (or post a screenshot)