I'm trying to install the module Pygame in my mac, but I keep getting errors. I already have pip
installed, so I'm not sure what is wrong. I already tried: sudo pip install pygame
, sudo pip3 install pygame
, and both of these without sudo
. I would really appreciate if you could help, thanks! Here is the error message (some of the most important messages):
error: command 'gcc' failed with exit status 1
In file included from src_c/gfxdraw.c:33:
In file included from src_c/pygame.h:32:
src_c/_pygame.h:216:10: fatal error: 'SDL.h' file not found
#include <SDL.h>