Skip to content

Error while trying to create a visualization  #465

Closed
@Rakesh-Paul01

Description

@Rakesh-Paul01

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

Rakesh-Paul01 commented on Apr 18, 2024

@Rakesh-Paul01
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Rakesh-Paul01

        Issue actions

          Error while trying to create a visualization · Issue #465 · google-deepmind/dm_control