# The differences between VTKPythonPackage and VTK Python Wrapper.

**URL:** https://discourse.vtk.org/t/the-differences-between-vtkpythonpackage-and-vtk-python-wrapper/3509
**Category:** Support
**Created:** [June 10, 2020, 8:10am UTC](https://discourse.vtk.org/t/the-differences-between-vtkpythonpackage-and-vtk-python-wrapper/3509 "2020-06-10T08:10:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Hongyi\_Zhao](https://discourse.vtk.org/user_avatar/discourse.vtk.org/hongyi_zhao/32/1695_2.png) [@Hongyi\_Zhao](https://discourse.vtk.org/u/Hongyi_Zhao)
#### Post date: [June 10, 2020, 8:10am UTC](https://discourse.vtk.org/t/the-differences-between-vtkpythonpackage-and-vtk-python-wrapper/3509/1 "2020-06-10T08:10:25Z")

</div>

Hi,

It seems there are two methods for building the VTK interface for python. One is [VTKPythonPackage](https://github.com/KitwareMedical/VTKPythonPackage) and the other is [VTK Python Wrapper](https://vtk.org/Wiki/VTK/Python_Wrapping_FAQ). What’s the differences between the above two method for interfacing VTK with python? Which one should I use?

For building VTK Python wheels, I’ve been told [the following steps](https://github.com/enthought/mayavi/issues/927#issuecomment-640605145):

You’ll need to make the wheel using `python setup.py bdist_wheel` in the build tree once the VTK build is done. You can then `pip install` that wheel and `mayavi` should install just fine once you have it in your venv.

I’m still confused on the above method. To be more specific, where should I issue the ` python setup.py bdist_wheel` command? And if I use this method, should I set the following option for cmake when compiling VTK:

`-DVTK_WRAP_PYTHON=OFF `

Any hints for my questions?

Regards,
