-
Clone
macos
branch of https://github.com/deepmind/lab -
Read https://github.com/deepmind/lab/blob/macos/README.md and install dependencies.
-
Edit
WORKSPACE
to correctpath
s ofglib_archive
,sdl_system
, andpython_system
.
- For
glib_archive
andsdl_system
, you need to specify their correct paths. - For
python_system
, you need to specify the correct path of Homebrew's Cellar directory.
- Edit
python.BUILD
to correcthdrs
andincludes
.
- You need to specify the versions of your python and numpy correctly.
- Build
lab$ bazel run :python_random_agent --define graphics=sdl -- \
--length=10000 --width=640 --height=480