google-deepmind / google-deepmind/dm_control
I installed it without -e option, but I got cannot import name 'constants' error.
- Langage dominant
- Python
- Étoiles
- 4.7k
- Forks
- 764
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by reproducing the command from requirements.txt and running dm_control/locomotion/soccer/explore.py. Then inspect dm_control/mujoco/wrapper/mjbindings/__init__.py and the reported import path to determine why constants is unavailable; done means identifying a confirmed installation or import correction and documenting the verified result.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- developer-experience
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100