openai / spinningup

An educational resource to help anyone learn deep reinforcement learning.
https://spinningup.openai.com/
MIT License
9.86k stars 2.19k forks source link

MuJoCo-Py 2 is not supported #295

Open laszukdawid opened 3 years ago

laszukdawid commented 3 years ago

Although it's optional and not directly affected through SpinningUp it might be worth to mention that OpenAI Gym does not support the newest (2 year old) version 2. Per gym's Readme it currently expects the 1.5 version.

This comes up when executing pip install gym[mujoco,robotics]. The discovery was through paths comparison. MuJoCo-Py suggest having a dir ~/.mujoco/mujoco200 whereas the gym expects ~/.mujoco/mjpro15.

DanielTakeshi commented 3 years ago

@laszukdawid I am able to run MuJoCo environments with version 2.0, and I didn't even run pip install gym[mujoco,robotics]. Not sure what happened (I just followed instructions here and in mujoco-py). Maybe something happened in mujoco-py to support those envs.