Saturday, 11 April 2015

Installing PyGame on Mac

Linux and Windows seem to have more straightforward installations. This worked for me on Mac.

brew install python
/usr/local/share/python/easy_install mecurial

brew install sdl
brew install sdl_mixer
brew install sdl_ttf
brew install sdl_image

hg clone https://bitbucket.org/pygame/pygame
cd pygame
/usr/local/bin/python setup.py install

You can verify proper installation by typing in terminal:
python
import pygame

source: https://bitbucket.org/pygame/pygame/issue/82/homebrew-on-leopard-fails-to-install#comment-627494



No comments:

Post a Comment