Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to create a visualization #465

Closed
Rakesh-Paul01 opened this issue Apr 15, 2024 · 1 comment
Closed

Error while trying to create a visualization #465

Rakesh-Paul01 opened this issue Apr 15, 2024 · 1 comment

Comments

@Rakesh-Paul01
Copy link

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

@Rakesh-Paul01
Copy link
Author

The issue wasn't really any fault regarding dm_control or anything one can refer this post from stackoverflow to fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant