You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for sharing the amazing repository!
I installed from source on WSL2 Ubuntu 24.04. The installation completed without any problem. However, when I ran
python examples/piano_with_shadow_hands_env.py
got this error.
OpenGL.error.Error: Attempt to retrieve context when no valid context
I found os.environ['PYOPENGL_PLATFORM'] = 'egl' could help, but in my case did not work.
Is there any other solution?
The text was updated successfully, but these errors were encountered:
Thanks for answering @MoralCode !
Rendering worked by simply adding os.environ['PYOPENGL_PLATFORM'] = 'glfw' in the python file.
However, I have faced
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM default
fluidsynth: error: Failed to open the "default" audio device
ALSA lib seq_hw.c:528:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fluidsynth: error: Error opening ALSA sequencer
It seems compatibility issues with the library designed for Linux like ALSA.
So it would be better to try on a native Ubuntu, but I would like to know if there is a smart way to work on Windows.
Hi, thanks for sharing the amazing repository!
I installed from source on WSL2 Ubuntu 24.04. The installation completed without any problem. However, when I ran
got this error.
I found
os.environ['PYOPENGL_PLATFORM'] = 'egl'
could help, but in my case did not work.Is there any other solution?
The text was updated successfully, but these errors were encountered: