无法安装pysc2

时间:2017-10-23 09:56:58

标签: macos python-3.x

我想使用此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

我该如何解决?

1 个答案:

答案 0 :(得分:0)

也许你可以试试这个: brew install sdl sdl_image sdl_mixer sdl_ttf portmidi

我的意思是如果错误与sdl有关,你可以尝试重新安装sdl。