Oh schnap! It worked!! Thanks for the tip!
--------- $ brew install sdl <snip ....no drama> $ easy_install pygame Searching for pygame Best match: pygame 1.9.2pre Adding pygame 1.9.2pre to easy-install.pth file Using /Library/Python/2.7/site-packages Processing dependencies for pygame Finished processing dependencies for pygame swolfe-pro:pycoco swolfe$ python Python 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pygame >>> On Fri, Jun 14, 2013 at 6:31 PM, Robert Deaton <false.ho...@gmail.com> wrote: > easy_install and pip do not install C dependencies, it leaves that up to > you. I would recommend trying homebrew if you are not familiar with what it > will take to resolve this yourself. > > > On Fri, Jun 14, 2013 at 9:30 PM, Sean Felipe Wolfe <ether....@gmail.com> > wrote: >> >> Hey everybody, >> >> I am getting a pygame dev environment setup on a new mac powerbook ... >> Mountain Lion. Not my favorite macosx ever, but somewhat better than >> Lion. I sure hope Apple gets its OS department back on track. But that >> is another discussion. ... >> >> Anyhow, I tried >> $ easy_install pygame >> >> and whaddyaknow, it *almost* worked! Seemed to download the binary >> from pygame.org, start doing stuffs, and it eventually crashed with an >> SDL error. >> >> ---- >> clang: warning: argument unused during compilation: '-mno-fused-madd' >> In file included from src/_numericsurfarray.c:23: >> src/pygame.h:106:10: fatal error: 'SDL.h' file not found >> #include <SDL.h> >> ^ >> 1 error generated. >> error: Setup script exited with error: command 'clang' failed with exit >> status 1 >> --- >> >> Looks like some SDL C dependencies aren't installed on my system. I'm >> wondering how easy_install is failing to install the necessary >> dependencies? How would one go about fixing this? >> >> An opportunity to learn more about python and easy_install ... :) >> >> -- >> A musician must make music, an artist must paint, a poet must write, >> if he is to be ultimately at peace with himself. >> - Abraham Maslow > > > > > -- > --Robert Deaton > http://lushlab.com -- A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself. - Abraham Maslow