Closed
Description
Can't open a rendering window when trying to visualize, getting the following error
File "/home/rakesh/anaconda3/envs/monet/lib/python3.11/site-packages/dm_control/viewer/application.py", line 187, in __init__
self._window = gui.RenderWindow(width, height, title)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rakesh/anaconda3/envs/monet/lib/python3.11/site-packages/dm_control/viewer/gui/glfw_gui.py", line 191, in __init__
raise RuntimeError('Failed to create window')
RuntimeError: Failed to create window
I am on ubuntu 22.04 and have the nvidia 535 drivers.
I tired installing the stuff mentioned here. While everything else was installed I wasn't able to install glew
I tried using sudo apt-get install libglew2.0.
I get this on the terminal
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libglew2.0.
E: Couldn't find any package by glob 'libglew2.0.'
E: Couldn't find any package by regex 'libglew2.0.'
What are the the possible solutions I could try out?
Thank you
Activity
Rakesh-Paul01 commentedon Apr 18, 2024
The issue wasn't really any fault regarding dm_control or anything one can refer this post from stackoverflow to fix the issue