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

Similar Threads
thread Thread Starter Forum Replies Last Post
installing python with idle & pygame raylang Mac Programming 6 Jan 6, 2014 11:48 AM
setting player controll keys in python/pygame. NEED HELP PLZ Sparky445 Mac Programming 3 Aug 28, 2013 12:22 PM
Good Python 3.3 course vmachiel Mac Programming 2 Mar 11, 2013 03:42 AM
Best way to install python pygame and py2app sioannou Mac Programming 1 Jan 22, 2013 02:17 AM
Python 3.2.3 dboxall123 Mac Programming 4 Sep 27, 2012 10:53 AM

Forum Jump

All times are GMT -5. The time now is 08:55 AM.

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

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