Skip to content

Instantly share code, notes, and snippets.

@saylerb
Created August 14, 2017 19:11
Show Gist options
  • Save saylerb/466df2c5f9bc85543e31bc89d1595f41 to your computer and use it in GitHub Desktop.
Save saylerb/466df2c5f9bc85543e31bc89d1595f41 to your computer and use it in GitHub Desktop.

Installation instructions

  • Change system password to anything that is not blank. e.g. "bgc"

Install homebrew:

 ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

If prompted, press Enter. Type the new system password when prompted. This might take a couple minutes since have to install Command Line Tools.

Install Python2 "proper"

(installing python3 with homebrew will also install python2)

brew install python3 hg sdl sdl_image sdl_mixer sdl_ttf portmidi

Install PyGame with pip2:

pip2 install hg+http://bitbucket.org/pygame/pygame

Run the program using the Homebrew installation of Python 2

python2 /path/to/some_program.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment