# Examples of using VTK-m (VisCores) through VTK in Python

**URL:** https://discourse.vtk.org/t/examples-of-using-vtk-m-viscores-through-vtk-in-python/16400
**Category:** Support
**Created:** [April 29, 2026, 11:40am UTC](https://discourse.vtk.org/t/examples-of-using-vtk-m-viscores-through-vtk-in-python/16400 "2026-04-29T11:40:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![1116](https://discourse.vtk.org/user_avatar/discourse.vtk.org/1116/32/1506_2.png) [@1116](https://discourse.vtk.org/u/1116)
#### Post date: [April 29, 2026, 11:40am UTC](https://discourse.vtk.org/t/examples-of-using-vtk-m-viscores-through-vtk-in-python/16400/1 "2026-04-29T11:40:36Z")

</div>

Hi all,

I’m wondering whether there are any examples of using VTK-m (Viscores) through VTK in a Python script.

If I want to enable VTK-m acceleration (for example with CUDA), do I need to recompile VTK with python module and CUDA/VTK-m enabled, or can this be used directly from an existing VTK Python installation (such as pip install vtk)?

Any guidance or example references would be greatly appreciated. Thanks! 🙏
