pygame 1.9 and python 3 install help

Discussion in 'Mac Programming' started by ShrewdPrankster, Mar 27, 2013.

  1. ShrewdPrankster, Mar 27, 2013
    Last edited: Mar 28, 2013

    macrumors newbie

    #1
    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
     
  2. macrumors 68000

    #2
    Cut and paste exact error (or post a screenshot)
     
  3. macrumors newbie

    #3
    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.

     

Share This Page