Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mujoco 200 Dynamic Library Error If Configured with mushroom_rl #82

Closed
plaban opened this issue Jan 13, 2022 · 1 comment
Closed

Mujoco 200 Dynamic Library Error If Configured with mushroom_rl #82

plaban opened this issue Jan 13, 2022 · 1 comment
Labels

Comments

@plaban
Copy link

plaban commented Jan 13, 2022

Describe the bug

While configuring dm_control with mushroom_rl, I am finding difficulty in configuring mujoco200. Following is the error:

AttributeError: /.mujoco/mujoco200/bin/libmujoco200.so: undefined symbol: mjr_label

Following are the environment variables set:

export MUJOCO_GL=osmesa
export MJLIB_PATH="/.mujoco/mujoco200/bin/libmujoco200.so"
export MJKEY_PATH="/.mujoco/mujoco200/mjkey.txt"
export MUJOCO_PY_MJPRO_PATH="/.mujoco/mujoco200/"
export MUJOCO_PY_MJKEY_PATH="/.mujoco/mujoco200/mjkey.txt"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/.mujoco/mujoco200/bin"

I am stuck for a long at this point. Kindly help

To Reproduce
import numpy as np
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F

from mushroom_rl.algorithms.value import DQN

Expected behavior
No error

System information (please complete the following information):

  • OS: [e.g. Ubuntu 20.04]
  • Python version [Python3.7]
  • Torch version [Pytorch 1.10]
  • Mushroom version [1.70]

Additional Context
mujoco_py works perfectly fine as it can render environments from python code.

@plaban plaban added the bug label Jan 13, 2022
@boris-il-forte
Copy link
Collaborator

Have you tried the newest version of Mujoco?

you can download Mujoco 2.1.0 here:
https://mujoco.org/download

This version doesn't require a key and is easier to install. It should work almost out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants