You can install Google Research Football on Linux, macOS, or Windows. The recommended way for Linux users is to use Docker to avoid package version conflicts. For direct installation, follow the platform-specific steps below.
Linux
Install system dependencies:
sudo apt-get install git cmake build-essential libgl1-mesa-dev libsdl2-dev \
libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev libboost-all-dev \
libdirectfb-dev libst-dev mesa-utils xvfb x11vnc python3-pip
python3 -m pip install --upgrade pip setuptools psutil wheel
macOS
Install Homebrew, then install dependencies:
brew install git python3 cmake sdl2 sdl2_image sdl2_ttf sdl2_gfx boost boost-python3
python3 -m pip install --upgrade pip setuptools psutil wheel
Windows
Install Git and Python 3. Update pip using python (not python3) in the Command Line:
python -m pip install --upgrade pip setuptools psutil wheel