Mujoco renderer error #685
Unanswered
Aristomo
asked this question in
Asking for Help
Replies: 2 comments 1 reply
-
Did anyone find any fix for this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello @Amritpal-001, @Aristomo ` Option 1.renderer = Renderer(...) Option 2.with Renderer(...) as renderer: for example : this works for me |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just run the sample code in the tutorial of python bindings,
import mujoco
xml = """
"""
model1 = mujoco.MjModel.from_xml_string(xml)
data = mujoco.MjData(model1)
renderer = mujoco.renderer.Renderer(model=model1)
Then there is an error:
Exception ignored in: <function GLContext.del at 0x000002BE7D526670>
Traceback (most recent call last):
File "D:\anaconda\lib\site-packages\mujoco\glfw_init_.py", line 41, in del
File "D:\anaconda\lib\site-packages\mujoco\glfw_init_.py", line 35, in free
TypeError: 'NoneType' object is not callable
Maybe because I did not initialize the render? How to solve it?
Beta Was this translation helpful? Give feedback.
All reactions