myosuite icon indicating copy to clipboard operation
myosuite copied to clipboard

Loading policy looks for mujoco-py instead of mujoco

Open irfanmohamed12 opened this issue 6 months ago • 4 comments

I cant seem to run the tutorial 2_Load_Policy.ipnyb.

The issue throws an error at this line: pi = pickle.load(open(policy, 'rb')).

The error 'DependencyNotInstalled: No module named 'mujoco_py'.

The policy : "myoElbowPose1D6MExoRandom-v0/2022-02-26_21-16-27/36_env=myoElbowPose1D6MExoRandom-v0,seed=1/iterations/best_policy.pickle"

So I did a pip install mujoco_py.

If I run the notebook again, I see error at same line: ' You appear to be missing MuJoCo. We expected to find the file here: C:\Users\USERNAME.mujoco\mujoco210'

Does this mean I need to download Mujoco from https://www.roboti.us/download.html and save to this folder?

However, https://github.com/openai/mujoco-py#install-mujoco states that this pipeline is for Linux or OSX.

Is this a known issue? How do i solve it for Windows?

Related info: Windows 11 Enterprise python 3.9.13 Myosuite 2.50. mujoco 3.1.2 mrjl 1.0.0 mujoco-py 2.1.2.14

irfanmohamed12 avatar Aug 02 '24 11:08 irfanmohamed12