HOMEBREW - Installing Pygame on Mac OS X Snow Leopard

333 views Asked by At

So, I am trying to get pygame installed on my mac 10.6 via Homebrew. I am getting multiple errors This is how I am installing Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

That runs successfully in terminal. When I try and run the "brew" command to install mercurial brew install mercurialand I get this error-bash: brew: command not found I have tried to reinstall Homebrew multiple times, and it did not work. When I checked the /usr/local/bin/ directory, there was no file with "brew" in the name. I have also tried to run the commandpip3 install https://bitbucket.org/pygame/pygame, and I get this error:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
1

There are 1 answers

0
Do Not Track Me On

There is a full set of instructions here: https://bitbucket.org/pygame/pygame/issues/82/homebrew-on-leopard-fails-to-install#comment-627494

brew install mercurial

brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi 
pip install hg+http://bitbucket.org/pygame/pygame