Skip to content

Instantly share code, notes, and snippets.

@muupan
Last active May 14, 2020 12:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muupan/99511cffeb9ea0c9f862208787fd5902 to your computer and use it in GitHub Desktop.
Save muupan/99511cffeb9ea0c9f862208787fd5902 to your computer and use it in GitHub Desktop.
How to build DeepMind Lab on macOS Mojave (as of 2019/02/01)

How to build DeepMind Lab on macOS Mojave (as of 2019/02/01)

  1. Clone macos branch of https://github.com/deepmind/lab

  2. Read https://github.com/deepmind/lab/blob/macos/README.md and install dependencies.

  3. Edit WORKSPACE to correct paths of glib_archive, sdl_system, and python_system.

  • For glib_archive and sdl_system, you need to specify their correct paths.
  • For python_system, you need to specify the correct path of Homebrew's Cellar directory.
  1. Edit python.BUILD to correct hdrs and includes.
  • You need to specify the versions of your python and numpy correctly.
  1. Build
lab$ bazel run :python_random_agent --define graphics=sdl -- \
               --length=10000 --width=640 --height=480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment