pip install numpy brew install sdl sdl_ttf sdl_image sdl_mixer Download the pygame source. It’s one of the top links. Extract it somewhere and go to that directory in a terminal. Run python config.py. Open "Setup" file that will be found after running the above command . Change the lines starting SDL, FONT, IMAGE, and MIXER to read: SDL = -I/usr/local/include/SDL -L/usr/local/lib -lSDL FONT = -lSDL_ttf IMAGE = -lSDL_image MIXER = -lSDL_mixer open and edit scale_mmx64.c from /src folder . Look for all occurrences of movsxl and replace it with movslq. You should find two occurrences. Run python setup.py install.