問題描述
In file included from src/_numericsurfarray.c:23:
src/pygame.h:106:10: fatal error: 'SDL.h' file not found
#include <SDL.h>
^
1 error generated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
解決辦法
1.安裝homebrew
2.終端執(zhí)行:
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
pip install pygeme