MoJoCo with miniconda3 environment #2832
Unanswered
aleada23
asked this question in
Asking for Help
Replies: 2 comments 7 replies
-
The dm_control package's README contains some helpful instructions with respect to rendering: https://github.com/google-deepmind/dm_control?tab=readme-ov-file#rendering |
Beta Was this translation helpful? Give feedback.
0 replies
-
What you mean with "the code works" if you deactivated the environment? Can you report your conda list? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am a PhD student, and I would like to use MuJoCo for my research in RL.
My setup
I'm using MuJoCo 3.3.5 with Ubuntu 22.04.
My question
I'm forced to use miniconda3 virtual environment to run simulations, but I am unable to render them. The code works if I deactivate the environment. I tried to fix it by looking online (it should be a known problem) for a solution, and tried to follow the guidelines but the problem remains. The output error is: libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
/home/alead/miniconda3/envs/mujoco_env/lib/python3.12/site-packages/glfw/init.py:917: GLFWError: (65542) b'EGL: Failed to initialize EGL: EGL is not or could not be initialized'
warnings.warn(message, GLFWError)
ERROR: could not create window
Thank you in advance for your help
Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions