# Vtk.util cannot be found in ParrallelProcessing

**URL:** <https://discourse.slicer.org/t/vtk-util-cannot-be-found-in-parrallelprocessing/32730>\
**Category:** Development\
**Created:** [November 11, 2023, 12:56am UTC](https://discourse.slicer.org/t/vtk-util-cannot-be-found-in-parrallelprocessing/32730 "2023-11-11T00:56:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wrc](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@wrc](https://discourse.slicer.org/u/wrc)\
**Post date:** [November 11, 2023, 12:56am UTC](https://discourse.slicer.org/t/vtk-util-cannot-be-found-in-parrallelprocessing/32730/1 "2023-11-11T00:56:40Z")

</div>

Hi, I want to transfer numpy array to vtkPoints in a script under the extension ParrallelProcessing. I use

```auto
import vtk
fp = vtk.vtkPoints()
fp.SetData(vtk.util.numpy_support.numpy_to_vtk(points))

```

but return

```auto
AttributeError: module 'vtk' has no attribute 'util'

```

However, vtk.util works fine in the main python script (not in ParrallelProcessing). Is there any limitation of the ParrallelProcessing? Thank you.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 11, 2023, 9:39pm UTC](https://discourse.slicer.org/t/vtk-util-cannot-be-found-in-parrallelprocessing/32730/2 "2023-11-11T21:39:27Z")

</div>

You’ll need to explicitly do `import vtk.util`. The Slicer app imports several packages (vtk, ctk, qt…) but when you run in in the `PythonSlicer` environment you get Slicer’s python build but without the Slicer parts.
