# vtk python wrapper problem with compilation

**URL:** <https://discourse.vtk.org/t/vtk-python-wrapper-problem-with-compilation/2236>\
**Category:** Support\
**Created:** [December 8, 2019, 8:24pm UTC](https://discourse.vtk.org/t/vtk-python-wrapper-problem-with-compilation/2236 "2019-12-08T20:24:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)\
**Post date:** [December 9, 2019, 6:44am UTC](https://discourse.vtk.org/t/vtk-python-wrapper-problem-with-compilation/2236/2 "2019-12-09T06:44:23Z")

</div>

Which version of VTK are you using? For VTK 7 and 8, the solution in [this thread](https://discourse.vtk.org/t/wrapper-hierarchy-file/1552/19) might work for you. (Note that although the solution in that thread checks for `(${VTK_VERSION} VERSION_EQUAL "8.1")`, the same solution should work for 8.2).

---

_[View the full topic](https://discourse.vtk.org/t/vtk-python-wrapper-problem-with-compilation/2236)._
