我想使用此link中的pysc2
命令安装pip3 install pysc2
,但终端显示以下错误
src/scrap.c:27:10: fatal error: 'SDL.h' file not found
#include "SDL.h"
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
我该如何解决?
答案 0 :(得分:0)
也许你可以试试这个:
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
我的意思是如果错误与sdl有关,你可以尝试重新安装sdl。