google-deepmind / google-deepmind/lab

Failed to find function dmlab_connect in library! RuntimeError: Failed to connect RL API

Open
#230 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

hi,I used Git to clone episodic-curiosity and DeepMind Lablocally as required and tested DMlab with bazel run :python_random_agent command, but there is no problem and it can run.
![2021-10-23 14-41-35屏幕截图](https://user-images.githubusercontent.com/50577983/138545945-321a2cca-8a93-4855-9e07-536eab63d83d.png)
But when I apply our patch to DeepMind Lab:

git checkout 7b851dcbf6171fa184bf8a25bf2c87fe6d3f5380
git checkout -b modified_dmlab
git apply ../third_party/dmlab/dmlab_min_goal_distance.patch
![2021-10-23 14-43-29屏幕截图](https://user-images.githubusercontent.com/50577983/138545978-ed971bc7-b7be-4738-9424-af3843c425ed.png)
Error Failed to find function dmlab_connect in library! RuntimeError: Failed to connect RL API occurs when I run command bazel run :python_random_agent again.
![2021-10-23 14-43-53屏幕截图](https://user-images.githubusercontent.com/50577983/138546042-33b93fb8-7c84-4edc-9c50-d319ecd53aa4.png)
I have checked that the [runfile directory is wrong](https://github.com/deepmind/lab/issues/209) but I don't know how to set it.
[Deepmind Lab. set Runfiles path(path)](https://github.com/deepmind/lab/blob/master/docs/users/python_api.md) is also mentioned in the Python API
My configuration environment:
Ubuntu 16.04
Anaconda3
python3.6
I hope you can help me because it means a lot to me

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.