# Use \`\` -DVTK\_WHEEL\_BUILD=ON -DVTK\_WRAP\_PYTHON=ON '' will disable the creation for vtkpython.

**URL:** https://discourse.vtk.org/t/use-dvtk-wheel-build-on-dvtk-wrap-python-on-will-disable-the-creation-for-vtkpython/3528
**Category:** Support
**Created:** [June 12, 2020, 5:42am UTC](https://discourse.vtk.org/t/use-dvtk-wheel-build-on-dvtk-wrap-python-on-will-disable-the-creation-for-vtkpython/3528 "2020-06-12T05:42:08Z")
**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 12, 2020, 5:42am UTC](https://discourse.vtk.org/t/use-dvtk-wheel-build-on-dvtk-wrap-python-on-will-disable-the-creation-for-vtkpython/3528/1 "2020-06-12T05:42:08Z")

</div>

Hi,

I try to compile vtk with the following options:

```auto
  # Do the following under the build directory locating at vtk sourcecode directory: 
  $ cmake -DCMAKE_INSTALL_PREFIX=/home/werner/vtk \
            -DCMAKE_INSTALL_RPATH=/home/werner/vtk/lib \
            -DPYTHON_EXECUTABLE=/home/werner/.pyenv/versions/3.8.3/bin/python \
            -DPYTHON_INCLUDE_DIR=/home/werner/.pyenv/versions/3.8.3/include/python3.8 \
            -DPYTHON_LIBRARY=/home/werner/.pyenv/versions/3.8.3/lib/libpython3.8.so \
            -DVTK_WRAP_PYTHON=ON \
            -DVTK_PYTHON_VERSION=3 -DVTK_WHEEL_BUILD=ON ..
  $ python setup.py bdist_wheel
  $ make -j48
  $ make install

```

This method will not gererate the vtkpython which will be installed into $CMAKE\_INSTALL\_PREFIX/bin

Any hints for this problem?

Regards
