# crush issue vtk python on google colab

**URL:** https://discourse.vtk.org/t/crush-issue-vtk-python-on-google-colab/5125
**Category:** Support
**Created:** [February 2, 2021, 1:06pm UTC](https://discourse.vtk.org/t/crush-issue-vtk-python-on-google-colab/5125 "2021-02-02T13:06:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![COK](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/c/d2c977/32.png) [@COK](https://discourse.vtk.org/u/COK)
#### Post date: [February 2, 2021, 1:06pm UTC](https://discourse.vtk.org/t/crush-issue-vtk-python-on-google-colab/5125/1 "2021-02-02T13:06:11Z")

</div>

Hello everyone  
I am trying to use vtk in google [colab](https://colab.research.google.com)  
My tests with simplest vtk code such as [circle](https://kitware.github.io/vtk-examples/site/Python/GeometricObjects/Circle/) is returning the crush of kernel each time with an unknown error.  
I traced back the line that the code crushes with following line: `renderWindow.Render()`

Does anyone has any experience whether vtk run in google collaboration properly at all? Below is the full code of the example from vtk website:  
[https://kitware.github.io/vtk-examples/site/Python/GeometricObjects/Circle/](https://kitware.github.io/vtk-examples/site/Python/GeometricObjects/Circle/)

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [February 2, 2021, 3:43pm UTC](https://discourse.vtk.org/t/crush-issue-vtk-python-on-google-colab/5125/2 "2021-02-02T15:43:23Z")

</div>

It is probably a rendering issue (no gpu) and you need to make sure you use a VTK that was built with OSMesa (OffScreen Mesa).

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [February 2, 2021, 5:01pm UTC](https://discourse.vtk.org/t/crush-issue-vtk-python-on-google-colab/5125/3 "2021-02-02T17:01:19Z")

</div>

You should be able to set up a display server and use that. I haven’t done it myself but you can find many potential solutions if you google for `google colab x server`.

---

<div class="post-metadata">

### Author: ![MarkoNikovic](https://discourse.vtk.org/user_avatar/discourse.vtk.org/markonikovic/32/2931_2.png) [@MarkoNikovic](https://discourse.vtk.org/u/MarkoNikovic)
#### Post date: [February 3, 2021, 2:43pm UTC](https://discourse.vtk.org/t/crush-issue-vtk-python-on-google-colab/5125/4 "2021-02-03T14:43:35Z")

</div>

Hello @lassoan, Nice to meet you  
I am using react-vtkjs-viewport node module in my react app.  
Do you know about this?  
Could you please explain about environment for using this module?  
Thank you in advance
