You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to Mujoco. I have installed mujoco_py and mujoco simulator following the instructions here.
After installation, I have changed my ~/.bashrc by adding export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wenjie/.mujoco/mujoco210/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so
Then, I was testing the installation and configuration, running code:
Intro
Hi!
I am new to Mujoco. I have installed mujoco_py and mujoco simulator following the instructions here.
After installation, I have changed my ~/.bashrc by adding
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wenjie/.mujoco/mujoco210/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so
Then, I was testing the installation and configuration, running code:
`import mujoco_py
import mujoco
import os
mj_path = mujoco_py.utils.discover_mujoco()
print(mj_path)
xml_path = os.path.join(mj_path, 'model', 'humanoid.xml')
model = mujoco_py.load_model_from_path(xml_path)
sim = mujoco_py.MjSim(model)
viewer = mujoco_py.MjViewer(sim)
print(sim.data.qpos)
sim.step()
print(sim.data.qpos)
sim.render()`
Which threw me a Runtime Error. The terminal output is quoted below:
It is running on Ubuntu 22.04, Python 3.9. I appreciate it a lot if someone could provide some clues on it!
My setup
MuJoCo 210, Python 3.9, Ubuntu 22.04
What's happening? What did you expect?
Nah
Steps for reproduction
Minimal model for reproduction
Nah
Code required for reproduction
import mujoco_py
import mujoco
import os
mj_path = mujoco_py.utils.discover_mujoco()
print(mj_path)
xml_path = os.path.join(mj_path, 'model', 'humanoid.xml')
model = mujoco_py.load_model_from_path(xml_path)
sim = mujoco_py.MjSim(model)
viewer = mujoco_py.MjViewer(sim)
print(sim.data.qpos)
sim.step()
print(sim.data.qpos)
sim.render()
Confirmations
The text was updated successfully, but these errors were encountered: