google-deepmind / google-deepmind/deepmind-research

[rl_unplugged] Erros when running notebooks in colab

Open
#428 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.2k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

# [dmlab_r2d2.ipynb](https://colab.research.google.com/github/deepmind/deepmind_research/blob/master/rl_unplugged/dmlab_r2d2.ipynb)
During execution `!cd lab && bazel build -c opt --python_version=PY3 //python/pip_package:build_pip_package`
```
ERROR: /root/.cache/bazel/_bazel_root/c03d8b2e91952e95491d9389899d0967/external/com_google_absl/absl/BUILD.bazel:108:15: no such target '@platforms//cpu:wasm32': target 'wasm32' not declared in package 'cpu' defined by /root/.cache/bazel/_bazel_root/c03d8b2e91952e95491d9389899d0967/external/platforms/cpu/BUILD and referenced by '@com_google_absl//absl:platforms_wasm32'
Analyzing: target //python/pip_package:build_pip_package (0 packages loaded, 0\
targets configured)
Fetching @glib_archive; fetching
ERROR: While resolving configuration keys for @com_google_absl//absl:wasm_3: Analysis failed
Analyzing: target //python/pip_package:build_pip_package (0 packages loaded, 0\
targets configured)
Fetching @glib_archive; fetching
ERROR: While resolving configuration keys for @com_google_absl//absl/base:base: Analysis failed
Analyzing: target //python/pip_package:build_pip_package (0 packages loaded, 0\
targets configured)
Fetching @glib_archive; fetching
ERROR: Analysis of target '//python/pip_package:build_pip_package' failed; build aborted: Analysis failed

FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets conf\
igured)
Fetching @glib_archive; fetching
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets conf\
igured)
Fetching @glib_archive; fetching
```
and then
`ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/tmp/dmlab_pkg/deepmind_lab-1.0-py3-none-any.whl'`
and in a result
`ModuleNotFoundError: No module named 'deepmind_lab'`
![image](https://github.com/deepmind/deepmind-research/assets/36787333/03da9872-e391-4a29-99ce-b0e6bd89f580)
# [atari_dqn.ipynb](https://colab.research.google.com/github/deepmind/deepmind_research/blob/master/rl_unplugged/atari_dqn.ipynb)
Everything installed without errors, but during `from rl_unplugged import atari` an error raised
`TypeError: configurable() got an unexpected keyword argument 'blacklist'`
![image](https://github.com/deepmind/deepmind-research/assets/36787333/a80bae73-e69c-40f8-b224-d81f8d80f5e2)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.