Closed zichunxx closed 2 years ago
Hi, how did you solve this issue? Could you pls maybe share your solution? many thanks!
Hi, how did you solve this issue? Could you pls maybe share your solution? many thanks!
Hi, I'm sorry for replying now. I can't remember the exact details, but I can list all the methods I've tried below.
(1) https://github.com/openai/mujoco-py/issues/187#issue-292316408
(2) Check the device_id
in the programming. Some related issues can be found.
(3) The following two lines of code conflict with each other and cannot be implemented at the same time, which is a bug of Mujoco.
viewer = mujoco_py.MjViewer(sim)
image = sim.render(width=300, height = 300, camera_name='cam0', depth=False)
Hope these are helpful to you!
many thanks!
many thanks!
Hi, have you addressed the issue?
Thanks!
unset LD_PRELOAD
worked for me. did you try that?
unset LD_PRELOAD
worked for me. did you try that?
Hi! Should this command (unset LD_PRELOAD
) be entered in the terminal, before starting the IDE?
you can enter unset LD_PRELOAD
in terminal then "python yourfile.py
to run your code
you can enter
unset LD_PRELOAD
in terminal then "pythonyourfile.py
to run your code
Thank you!
unset LD_PRELOAD
worked for me. did you try that?
Yes, I tried that. But that did not help with the error. And finally this problem is addressed by using GPU in my case.
unset LD_PRELOAD worked for me. did you try that?
Hi, I tried this and got this error
Creating window glfw ERROR: GLEW initalization error: Missing GL version Press Enter to exit
I know this type of problem has been asked many times, and I have tried to follow these methods (#665, #187) to solve my problem, but it seems useless.
Here is my test code:
Then I met the following error:
By browsing through some issues, the following code is the reason for this error.
If I replace this line with
viewer.render()
, the glfw window will show up. However, this is not the result that I want and theimage
is not avaliable.The operating system and mujoco_py which I used are
It seems that
unset LD_PRELOAD
is useless for me. When I try this method, the window gets stuck and the following error appearsI also have no
libGL.so
in/usr/lib/nvidia-510
, but I'm not sure if this file does have an impact on this issue.Has anyone successfully solved this problem? I would appreciate a response! Thx!