google-deepmind / google-deepmind/dm_control

I installed it without -e option, but I got cannot import name 'constants' error.

Open
#390 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.7k
Forks
764
PR merge metrics
No merged PRs in 30d

Description

I tried to install this repository as follows:

```
git clone https://github.com/deepmind/dm_control.git
cd dm_control/
pip3 install -r requirements.txt
```

But, after running the command, the following error occurred.

```
python3 ./dm_control/locomotion/soccer/explore.py
ImportError: cannot import name 'constants' from partially initialized module 'dm_control.mujoco.wrapper.mjbindings' (most likely due to a circular import) (/home/dl/DM_Control2/dm_control/dm_control/mujoco/wrapper/mjbindings/__init__.py)
```

Please let me know how to avoid it.

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.