# How to use remote module in Python？

**URL:** https://discourse.vtk.org/t/how-to-use-remote-module-in-python/10907
**Category:** Support
**Tags:** python
**Created:** [March 7, 2023, 6:41am UTC](https://discourse.vtk.org/t/how-to-use-remote-module-in-python/10907 "2023-03-07T06:41:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![guyqqcom](https://discourse.vtk.org/user_avatar/discourse.vtk.org/guyqqcom/32/7217_2.png) [@guyqqcom](https://discourse.vtk.org/u/guyqqcom)
#### Post date: [March 7, 2023, 6:41am UTC](https://discourse.vtk.org/t/how-to-use-remote-module-in-python/10907/1 "2023-03-07T06:41:46Z")

</div>

Hi all. I want to use Powercrust and PoissonReconstruction in Python. The version of VTK I am using is 9.0.3. I configured VTK\_MODULE\_ENABLE\_VTK\_PoissonReconstruction and VTK\_MODULE\_ENABLE\_VTK\_Powercrust to WANT in CMake, set up the Python-related values, and generated Powercrust.cp38-win\_amd64.pyd and PoissonReconstruction.cp38-win\_amd64.pyd in Visual Studio. However, when I used print(dir()) to check, I found that there were no callable methods. I checked the relevant Python wrapper files and they seem incomplete? How can I achieve my goal?Thanks for your help.

---

<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: [March 7, 2023, 9:06am UTC](https://discourse.vtk.org/t/how-to-use-remote-module-in-python/10907/2 "2023-03-07T09:06:47Z")

</div>

For some reason, the `CMakeLists.txt` wasn’t set up for wrapping.

Edit `Remote/Powercrust/CMakeLists.txt` and modify `vtk_module_add_module()` as follows:

```plaintext
  vtk_module_add_module(VTK::Powercrust
    SOURCES vtkPowerCrustSurfaceReconstruction.cxx
    HEADERS vtkPowerCrustSurfaceReconstruction.h
    )

```

The `HEADERS` was missing, and without `HEADERS` (or, alternatively, `CLASSES`), the wrappers cannot be generated.
