You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
151.8 ERROR: Traceback (most recent call last):
151.8 File "/drivers/lab/BUILD", line 923, column 11, in<toplevel>
151.8 [py_binary(
151.8 File "/root/.cache/bazel/_bazel_root/3641ac266fa7baa0d16c7e1c7b068466/external/rules_python+/python/py_binary.bzl", line 41, column 13, in py_binary
151.8 fail("Python 2 is no longer supported: https://github.com/bazelbuild/rules_python/issues/886")
151.8 Error in fail: Python 2 is no longer supported: https://github.com/bazelbuild/rules_python/issues/886
151.8 ERROR: /drivers/lab/BUILD: no such target '//:deepmind_lab.so': target 'deepmind_lab.so' not declared in package '' defined by /drivers/lab/BUILD
151.8 ERROR: /drivers/lab/python/pip_package/BUILD:6:10: no such target '//:deepmind_lab.so': target 'deepmind_lab.so' not declared in package '' defined by /drivers/lab/BUILD and referenced by '//python/pip_package:build_pip_package'
151.8 ERROR: Analysis of target '//python/pip_package:build_pip_package' failed; build aborted: Analysis failed
151.8 INFO: Elapsed time: 23.228s, Critical Path: 0.01s
151.8 INFO: 1 process: 1 internal.
151.8 ERROR: Build did NOT complete successfully
When creating a docker image from the dockerfile, I am not able to create it successfully. When running the script present here, install-dmlab.sh. The building process fails since bazel installed via the script is (8.0.1) and I think it no longer allows building things using older python. Does the script need to change in order to install older version of bazel?
The text was updated successfully, but these errors were encountered:
apoorvagnihotri
changed the title
Bazel doesn't allow using python 2.7 anymore
Bazel doesn't allow using python 2.7 anymore, Dockerfile fails
Jan 22, 2025
When creating a docker image from the dockerfile, I am not able to create it successfully. When running the script present here,
install-dmlab.sh
. The building process fails since bazel installed via the script is (8.0.1) and I think it no longer allows building things using older python. Does the script need to change in order to install older version of bazel?The text was updated successfully, but these errors were encountered: