ikostrikov / dmcgym

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install fails due to mujoco-py

timoklein opened this issue · 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?