Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 27, 2013, 07:06 PM   #1
ShrewdPrankster
macrumors newbie
 
Join Date: Mar 2013
Location: Canada
pygame 1.9 and python 3 install help

Does anyone know how to install pygame for use with python 3? I have tried using these instructions:

http://florian-berger.de/en/articles...thon-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
__________________
 Mac mini i7 2.3 GHz  16 GB G.Skill RAM  1 TB HD  Dual Monitors: ViewSonic VX2450  Dell S2409W 

Last edited by ShrewdPrankster; Mar 28, 2013 at 07:45 AM. Reason: Additional information
ShrewdPrankster is offline   0 Reply With Quote
Old Mar 28, 2013, 10:19 AM   #2
robvas
macrumors 68000
 
Join Date: Mar 2009
Location: USA
Cut and paste exact error (or post a screenshot)
robvas is offline   0 Reply With Quote
Old Mar 28, 2013, 02:43 PM   #3
ShrewdPrankster
Thread Starter
macrumors newbie
 
Join Date: Mar 2013
Location: Canada
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.

Quote:
Originally Posted by robvas View Post
Cut and paste exact error (or post a screenshot)
__________________
 Mac mini i7 2.3 GHz  16 GB G.Skill RAM  1 TB HD  Dual Monitors: ViewSonic VX2450  Dell S2409W 
ShrewdPrankster is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:47 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC