Установка Pygame на Mac в сборку Enthought

При установке Pygame на Mac было несколько вопросов без ответов, но я собираюсь задать здесь свой конкретный вопрос и надеюсь на ответ.

У меня были невероятные трудности с установкой Pygame на мой Mac. Я использую 32-битную версию EPD 7.3-2 Enthought, и это мой фреймворк по умолчаниюpython в терминале я получаю:

$ python
Enthought Python Distribution (EPD) free version -- www.enthought.com
Version: 7.3-2 (32-bit)

Я успешно установил дополнительные модули к этой версии, используя Pip 1.2.1 без проблем. У меня установлен Xcode 4.5.2 на моей машине, но я получаю ошибку gcc.

Есть идеи?

Вот след:

$ pip install Pygame

Downloading/unpacking Pygame

  Running setup.py egg_info for package Pygame

    warning: no files found matching 'readme.txt'
    no previously-included directories found matching '*/CVS'
    no previously-included directories found matching '*/*/CVS'
Installing collected packages: Pygame
  Running setup.py install for Pygame
    building 'pygame.font' extension
    gcc -fno-strict-aliasing -fno-common -dynamic -arch i386 -DNDEBUG -g -O3 -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/7.3/include/python2.7 -c src/font.c -o build/temp.macosx-10.5-i386-2.7/src/font.o
    unable to execute gcc: No such file or directory
    error: command 'gcc' failed with exit status 1
    Complete output from command /Library/Frameworks/Python.framework/Versions/7.3/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/var/folders/7p/wns1bszn1gq0zm3z2j_tdkdw0000gn/T/pip-build/Pygame/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/7p/wns1bszn1gq0zm3z2j_tdkdw0000gn/T/pip-478PM0-record/install-record.txt --single-version-externally-managed:
    running install

running build

running build_py

running build_ext

building 'pygame.font' extension

gcc -fno-strict-aliasing -fno-common -dynamic -arch i386 -DNDEBUG -g -O3 -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/7.3/include/python2.7 -c src/font.c -o build/temp.macosx-10.5-i386-2.7/src/font.o

    unable to execute gcc: No such file or directory

    error: command 'gcc' failed with exit status 1

----------------------------------------
Command /Library/Frameworks/Python.framework/Versions/7.3/Resources/Python.app/Contents/MacOS/Python -c "import setuptools;__file__='/var/folders/7p/wns1bszn1gq0zm3z2j_tdkdw0000gn/T/pip-build/Pygame/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/7p/wns1bszn1gq0zm3z2j_tdkdw0000gn/T/pip-478PM0-record/install-record.txt --single-version-externally-managed failed with error code 1 in /var/folders/7p/wns1bszn1gq0zm3z2j_tdkdw0000gn/T/pip-build/Pygame
Storing complete log in /Users/jchirico/.pip/pip.log

Ответы на вопрос(1)

Ваш ответ на вопрос