google-deepmind / lab

A customisable 3D platform for agent-based AI research
Other
7.11k stars 1.37k forks source link

Problem with Bazel Python3 build #237

Closed JustinS6626 closed 2 years ago

JustinS6626 commented 2 years ago

I am trying to build the deepmindlab python3 interface on Linux Mint 19.3, and I am getting the following error:

Starting local Bazel server and connecting to it...
ERROR: /home/justin/lab/python_system.bzl:67:15: unexpected keyword 'configure', for call to function repository_rule(implementation, attrs = None, local = False, environ = [], doc = '')
ERROR: error loading package '': Extension file 'python_system.bzl' has errors
ERROR: error loading package '': Extension file 'python_system.bzl' has errors
INFO: Elapsed time: 33.010s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

Are you able to find any errors in python_system.bzl, or does this mean that I need to upgrade my bazel installation?

tkoeppe commented 2 years ago

Are you using a recent Bazel version?

JustinS6626 commented 2 years ago

Thanks for getting back to me so soon! I upgraded my bazel installation and now it works.