pip install pygame – SDL.h file not found

This helped solved the issue. Use sudo if necessary.

brew install sdl sdl_image sdl_mixer sdl_ttf portmidi;
pip3 install pygame;
pip install pygame

Leave a Comment