# Cannot Run the Examples

**URL:** <https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180>\
**Category:** Isaac Gym\
**Created:** [January 5, 2021, 7:00am UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180 "2021-01-05T07:00:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuan.truyenbao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yuan.truyenbao](https://forums.developer.nvidia.com/u/yuan.truyenbao)\
**Post date:** [January 5, 2021, 7:00am UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180/1 "2021-01-05T07:00:27Z")

</div>

Hi,

I have successfully finished the " Install in an existing Python environment" section.

Now I am trying to test my installation by running the joint\_monkey.py. However, after I did _python joint\_monkey.py_, I got the following error:

> Loading extension module gymtorch…  
> Not connected to PVD  
> Segmentation fault (core dumped)

Could you give me some advice on how to fix this?

Thanks a lot,  
Bradley

---

<div class="post-metadata">

**Author:** ![gstate](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/gstate/32/48225_2.png) [@gstate](https://forums.developer.nvidia.com/u/gstate)\
**Post date:** [January 5, 2021, 5:37pm UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180/2 "2021-01-05T17:37:22Z")

</div>

Hi Bradley,

Can you confirm that you have a working Vulkan setup on your machine? Can you output the results of running `vulkaninfo`?

This is the most common cause of immediate segfaults on running.

Take care,  
-Gav

---

<div class="post-metadata">

**Author:** ![yuan.truyenbao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yuan.truyenbao](https://forums.developer.nvidia.com/u/yuan.truyenbao)\
**Post date:** [January 6, 2021, 8:45am UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180/3 "2021-01-06T08:45:01Z")

</div>

Hi,

Thanks for your info. I believe I haven’t set up Vulkan on my machine yet. The output when I ran `vulkaninfo` is:

> # =========== VULKAN INFO
> 
> Vulkan Instance Version: 1.1.70
> 
> /build/vulkan-UL09PJ/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:2700: failed with VK\_ERROR\_INITIALIZATION\_FAILED

I am very new to this simulation software and not quite familiar with Vulkan. Could you please briefly teach me how to set it up with the Isaac Gym?

Thank you and best regards,  
Bradley

---

<div class="post-metadata">

**Author:** ![gstate](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/gstate/32/48225_2.png) [@gstate](https://forums.developer.nvidia.com/u/gstate)\
**Post date:** [January 12, 2021, 1:32am UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180/4 "2021-01-12T01:32:22Z")

</div>

Hi @yuan.truyenbao,

If you have your NVIDIA drivers installed properly on your system, the vulkan drivers should be there and should work. If `vulkaninfo` still doesn’t work, it would be better to ask for guidance on the Linux driver channel here:

> **[Linux](https://forums.developer.nvidia.com/c/gpu-graphics/linux/148)**
>
> Linux Driver

Once `vulkaninfo` works, you shouldn’t have any problem with Isaac Gym.

Take care,  
-Gav

---

<div class="post-metadata">

**Author:** ![yuan.truyenbao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yuan.truyenbao](https://forums.developer.nvidia.com/u/yuan.truyenbao)\
**Post date:** [January 12, 2021, 4:30am UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180/5 "2021-01-12T04:30:33Z")

</div>

After vulkaninfo worked, this is how I solved my errors:

- Do this in the terminal: `export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json`
- Set the aforementioned path permanently using this tutorial: [[bash - Permanent PATH variable - Ask Ubuntu](https://askubuntu.com/questions/500775/permanent-path-variable)]

Thank you, Gav!

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 8:09pm UTC](https://forums.developer.nvidia.com/t/cannot-run-the-examples/165180/6 "2021-10-12T20:09:23Z")

</div>

Closed on October 12, 2021, 8:09pm UTC


