问题描述
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.终端执行:
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
pip install pygeme
网友评论