[Error] [carb.windowing-glfw.plugin] GLFW initialization failed

Hi
When I try to run “franka_cube_ik.py” with “TERMINAL” in “VS Code”, I get the following error. Is it possible to get “franka_cube_ik.py” to work with TERMINAL in VS Code?
#####################################`
Loading extension module gymtorch…
Not connected to PVD
[Error] [carb.windowing-glfw.plugin] GLFW initialization failed.
[Error] [carb.windowing-glfw.plugin] GLFW window creation failed!
[Error] [carb.gym.plugin] Failed to create Window in CreateGymViewerInternal
Traceback (most recent call last):
File “/home/s/Myspace/isaacgym/python/examples/franka_cube_ik.py”, line 95, in
raise Exception(“Failed to create viewer”)
Exception: Failed to create viewer
Segmentation fault (コアダンプ)
#####################################

But I am able to run “franka_cube_ik.py” using Ubuntu terminal.
#####################################
Loading extension module gymtorch…
Not connected to PVD
Creating 64 environments
#####################################`

VS Code Version: 1.56.0-insider
OS: Ubuntu20.04
GPU: RTX A6000
Driver Version: 460.67
CUDA Version: 11.2
conda Version: 4.10.1

I solved it.
I ran the VS Code directly(click the VS Code icon) without running the VS Code from the Ubuntu terminal as shown below.

(rlgpu) s@blt001:~/Myspace/isaacgym/python/examples$ code-insiders .

Maybe it’s a VS Code problem.

Hi @sate_sare,

Thanks for sharing your solution!