# python VTK Segmentation Fault after rendering

**URL:** https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860
**Category:** Support
**Tags:** python, code
**Created:** [July 1, 2023, 9:27pm UTC](https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860 "2023-07-01T21:27:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sonnet](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sonnet/32/7382_2.png) [@sonnet](https://discourse.vtk.org/u/sonnet)
#### Post date: [July 1, 2023, 9:27pm UTC](https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860/1 "2023-07-01T21:27:47Z")

</div>

I’m trying to test my installation of vtk in anaconda on a linux computing center. Whenever I try to run a simple code, I keep on getting the **Segmentation fault (core dumped)** error and I am unable to render figures. Does anyone have any insight into why this might be? For reference, the code that I’m using here is a vtk python example that works on my personal computer.  
Thanks!

 ![image](https://discourse.vtk.org/uploads/default/original/2X/4/40e9bf425846da95f748a84b5f0b2f6d19492004.png)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [July 20, 2023, 7:39pm UTC](https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860/2 "2023-07-20T19:39:45Z")

</div>

Can you please provide the code and data that you’re using? However, seeing that it is rendering that triggers it, it could be insufficient drivers.

Cc: @danlipsa @mwestphal @sankhesh

---

<div class="post-metadata">

### Author: ![sankhesh](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sankhesh/32/73_2.png) [@sankhesh](https://discourse.vtk.org/u/sankhesh)
#### Post date: [July 21, 2023, 1:19pm UTC](https://discourse.vtk.org/t/python-vtk-segmentation-fault-after-rendering/11860/3 "2023-07-21T13:19:09Z")

</div>

@sonnet Most computing environments don’t have graphics-capable GPUs. You’d have to find out if the environment provides you with a graphical context for rendering.
