google-deepmind / pysc2

StarCraft II Learning Environment
Apache License 2.0
7.96k stars 1.15k forks source link

installing pygame separately on conda works for installing pysc2 on ubuntu #314

Closed jimmy-academia closed 3 years ago

jimmy-academia commented 3 years ago

on multiple accounts, pip install pysc2 results in

WARNING, No "Setup" File Exists, Running "buildconfig/config.py" Using UNIX configuration...

/bin/sh: 1: sdl-config: not found
/bin/sh: 1: sdl-config: not found
/bin/sh: 1: sdl-config: not found

Hunting dependencies...
WARNING: "sdl-config" failed!
Unable to run "sdl-config". Please make sure a development version of SDL is installed.

since Readme suggests to install libsdl libraries for the pygame dependency. I simply installed pygame separately with conda with conda install -c cogsci pygame and pip install pysc2 is able to proceed without error.