dmcgym
dmcgym copied to clipboard
Install fails due to mujoco-py
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
- Create a fresh conda env
conda create -n test python=3.10 pip. - 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?