# ModuleNotFoundError: No module named 'vmtk'

**URL:** https://discourse.slicer.org/t/modulenotfounderror-no-module-named-vmtk/15962
**Category:** Development
**Tags:** vmtk
**Created:** [February 12, 2021, 1:46am UTC](https://discourse.slicer.org/t/modulenotfounderror-no-module-named-vmtk/15962 "2021-02-12T01:46:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Carlos\_Alberto\_Bulan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/carlos_alberto_bulan/32/8467_2.png) [@Carlos\_Alberto\_Bulan](https://discourse.slicer.org/u/Carlos_Alberto_Bulan)
#### Post date: [February 12, 2021, 1:46am UTC](https://discourse.slicer.org/t/modulenotfounderror-no-module-named-vmtk/15962/1 "2021-02-12T01:46:04Z")

</div>

Hello all,  
First of all, I would like to thank you for developing Slicer, I am a new user and it seems to be a powerful framework.  
I have a Python project, PP, for image processing relaying on VTK, SimpleITK & VMTK.  
I would like to develop a Slicer extension module, SEM, encapsulating some scripts from PP.  
I was able to implement the modules widget, and now I have to code the SEM Logic, which consists of calls to function on scripts on PP.

I have a symbolic link to my PP folder in the SEM folder. This allows me to import my PP scripts.  
I am having troubles importing scripts from PP which depends on VMTK, for example, let’s say that I want to import “PP/scriptA.py” into my SEM module code

```python
# start SEM_sm.py-----------------------------
import PP.scriptA
# module content...
# end SEM_sm.py------------------------------

# start scriptA.py --------------------------------
import vmtk.vmtkscripts
# script content...
# end scriptA.py ---------------------------------

```

Loading the module in Slicer 4.11.20200930 r29402 / 002be18, which has the SlicerVMTK extension results in the following error.  
ModuleNotFoundError: No module named ‘vmtk’

I assume that in order to use any vmtk functionality I needed to install the SlicerVMTK extension, but I am starting to think that maybe that is not the way to use vmtk from my SEM extension.

Could someone point me in the right direction?  
Thanks,  
Carlos
