Metaworld
Metaworld copied to clipboard
Running with mujoco210 vs 200
Hi there,
is seems the default mujoco-py is now version 210. However metaworld seems to expect mujoco200, an older version. Is there a simple tweak that can be made to run this environment in the most updated mujoco env or do I need to wrestle with a 200 install instead?
Thanks
Hey Neeraj,
I can spend a little time this week updating the mujoco version.
I think the short answer to your problem is that there is a version of mujoco-py that supports the newest mujoco, and you'll need to install that. Can you try that and get back to me?
Thanks! @avnishn
Hi @avnishn ,
I have downloaded the newest version of mujoco which works with the newest version of mojoco-py, following these instructions here.
In a sandbox, the examples for mujoco-py work fine. When I get to the step in metaworld's README:
pip install -e .
I get the following:
I have tried downloading mujoco200 to match this but it's really been quite a headache. Is there a quick fix to make metaworld compatible with mujoco210?
The reason why it's failing is because the version of mujoco-py that is installed by metaworld looks for mujoco200. If you update that version of mujoco-py in the setup.py, then run pip install -e . , then you'll be able to run with mujoco 210.
Yeah...looking back that really was a simple fix. Apologies...
Fixed by subbing out:
mujoco-py<2.2,>=2.1
In the setup.py
Hey no worries, happy to be of help. Going to leave this issue open do visibility!
I have a fix for this on a branch. Since it's clearly affecting other users I'll push a change and also update the version number to 0.1.0
soon.
As Meta-World ownership has been transferred from the RLWorkGroup to Farama Foundation, I am closing this issue. If there are any questions or requests for features please join our Discord