After two days of turmoil with macports and homebrew without joy, the instructions here worked for me using Anaconda Python 2.7.10 on a Mac. Repeat them here if the linked site ever disappears!
First open a terminal and enter the following two lines:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install sdl sdl_ttf sdl_image sdl_mixer portmidi
If you do not have the binstar type installed:
conda install binstar
At this point, he can tell you that the "binstar" conda package has been renamed to "anaconda-client", and you should enter it instead:
conda install anaconda-client
Just do what he tells you. Then finally enter:
conda install -c https://conda.binstar.org/quasiben pygame
and hope you are done!
vahndi
source share