# Problem with packages vtkvmtk and pypes

**URL:** https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923
**Category:** Support
**Tags:** vtk, vmtk, package
**Created:** [June 18, 2022, 8:40am UTC](https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923 "2022-06-18T08:40:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![19lollo95](https://avatars.discourse-cdn.com/v4/letter/1/82dd89/32.png) [@19lollo95](https://discourse.slicer.org/u/19lollo95)
#### Post date: [June 18, 2022, 8:40am UTC](https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923/1 "2022-06-18T08:40:47Z")

</div>

I am working with a script that imports vtkvmtk and pypes but I keep getting the following error message:

No module named ‘vtkvmtk’  
…

how can I remedy this? Can I install these packages? If so, from where?

---

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)
#### Post date: [June 18, 2022, 9:11am UTC](https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923/2 "2022-06-18T09:11:43Z")

</div>

The best way to do it if you are using Slicer is to call the extensions manager from the python interactor and install the vmtk extension

---

<div class="post-metadata">

### Author: ![19lollo95](https://avatars.discourse-cdn.com/v4/letter/1/82dd89/32.png) [@19lollo95](https://discourse.slicer.org/u/19lollo95)
#### Post date: [June 18, 2022, 9:29am UTC](https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923/3 "2022-06-18T09:29:23Z")

</div>

I don’t think I quite understand what you mean, sorry

---

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)
#### Post date: [June 18, 2022, 10:51am UTC](https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923/4 "2022-06-18T10:51:10Z")

</div>

The vmtk extension installed will let you import the code you want

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [June 18, 2022, 2:30pm UTC](https://discourse.slicer.org/t/problem-with-packages-vtkvmtk-and-pypes/23923/5 "2022-06-18T14:30:35Z")

</div>

@19lollo95 do you use VMTK in 3D Slicer’s Python environment or you install it to some other Python environments using pip or conda?
