dmcgym icon indicating copy to clipboard operation
dmcgym copied to clipboard

Install fails due to mujoco-py

Open timoklein opened this issue 3 years ago • 0 comments

Problem

When trying to install the package, it will fail with a variety of issues related to mujoco-py, e.g. error: legacy-install-failure or You appear to be missing MuJoCo. We expected to find the file here: /home/timo/.mujoco/mjpro150.

Steps to reproduce

  1. Create a fresh conda env conda create -n test python=3.10 pip.
  2. Try to install with pip install git+https://github.com/ikostrikov/dmcgym.git.

pip install dm_control beforehand doesn't fix the issue because it installs a newer version of mujoco.

Possible fix

Removing mujoco from gym[mujoco] should work because the DM Control dependency will pull in a newer version of mujoco. Am I missing something here why that's not done?

timoklein avatar Sep 27 '22 17:09 timoklein