wilson1yan / contrastive-forward-model

30 stars 8 forks source link

ImportError with dm_control.mujoco.wrapper.mjbindings #12

Open chenjq20 opened 2 years ago

chenjq20 commented 2 years ago

Hi,

I have met an error when I try 'python sample_trajectories.py'. The error message is as followed:

ImportErrror: cannot import name 'constants' from 'dm_control.mujoco.wrapper.mjbindings'(..\dm_control\mujoco\wrapper\mjbindings\_init_.py)

The imported module in mjbindings can not be found in the master branch and cfm branch of dm_control. I wonder how I could got the related modules in mjbindings.

For reference, I am running on Windows 10. I have created a virtual environment in which mujoco_py, dm_env(custom), dm_control (cfm) were installed.

Thank you for any help you can offer!

staniPetrox commented 2 years ago

Have you ever solved that problem, wondering about that too

chenjq20 commented 2 years ago

Hi,

I have not solved this problem yet.

staniPetrox commented 2 years ago

Provided some guidance in the README file now.