I made it all the way to the end of the pygame installation directions, but I keep getting an error I don't know how to fix. When I attempt to build pygame I get this:
python3 setup.py build
Skipping module _numericsurfarray for Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:09:56)
[GCC 4.0.1 (Apple Inc. build 5493)] build.
Skipping module _numericsndarray for Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:09:56)
[GCC 4.0.1 (Apple Inc. build 5493)] build.
Skipping module _camera for Python 3.2.3 (v3.2.3:3d0686d90f55, Apr 10 2012, 11:09:56)
[GCC 4.0.1 (Apple Inc. build 5493)] build.
running build
running build_py
running build_ext
building 'pygame.font' extension
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk
Please check your Xcode installation
/usr/bin/gcc-4.2 -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -Ddarwin -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -I/Library/Frameworks/SDL_ttf.framework/Versions/Current/Headers -I/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c src/font.c -o build/temp.macosx-10.3-fat-3.2/src/font.o
unable to execute /usr/bin/gcc-4.2: No such file or directory
error: command '/usr/bin/gcc-4.2' failed with exit status 1
What is causing the error? It says I need to check Xcode but Xcode is installed and works just fine.











