# Failed to load VMTK libraries in Vesselness Filtering

**URL:** <https://discourse.slicer.org/t/failed-to-load-vmtk-libraries-in-vesselness-filtering/19367>\
**Category:** VMTK\
**Created:** [August 26, 2021, 3:20pm UTC](https://discourse.slicer.org/t/failed-to-load-vmtk-libraries-in-vesselness-filtering/19367 "2021-08-26T15:20:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simone](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@simone](https://discourse.slicer.org/u/simone)\
**Post date:** [August 26, 2021, 3:20pm UTC](https://discourse.slicer.org/t/failed-to-load-vmtk-libraries-in-vesselness-filtering/19367/1 "2021-08-26T15:20:44Z")

</div>

Hi, I am using Slicer 4.11.20210226 on macOS 11.5. I am trying to use Vesselness Filtering but I get the error above. This is the full log:

[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Session start time …: 2021-08-26 11:07:13  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Slicer version …: 4.11.20210226 (revision 29738 / 7a593c8) macosx-amd64 - installed release  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Operating system …: macOS / 11.5 / 20G71 / UTF-8 - 64-bit  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Memory …: 8192 MB physical, 1024 MB virtual  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - CPU …: GenuineIntel Intel(R) Core™ i5-8259U CPU @ 2.30GHz, 4 cores, 8 logical processors  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, Sequential threading  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (core profile)  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Developer mode enabled …: yes  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Prefer executable CLI …: yes  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Application path …: /Applications/Slicer.app/Contents/MacOS  
[DEBUG][Qt] 26.08.2021 11:07:13 [] (unknown:0) - Additional module paths …: Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-loadable-modules, Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules  
[DEBUG][Python] 26.08.2021 11:07:14 [Python] (/Applications/Slicer.app/Contents/lib/Python/lib/python3.6/site-packages/pydicom/datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword…  
[CRITICAL][Qt] 26.08.2021 11:07:14 [] (unknown:0) - Error(s):  
CLI executable: /Applications/Slicer.app/Contents/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-loadable-modules/vtkvmtk.py  
The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.  
[CRITICAL][Qt] 26.08.2021 11:07:14 [] (unknown:0) - Fail to instantiate module “vtkvmtk”  
[CRITICAL][Qt] 26.08.2021 11:07:14 [] (unknown:0) - The following modules failed to be instantiated:  
[CRITICAL][Qt] 26.08.2021 11:07:14 [] (unknown:0) - vtkvmtk  
[DEBUG][Python] 26.08.2021 11:07:15 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations  
[DEBUG][Python] 26.08.2021 11:07:15 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor  
[DEBUG][Python] 26.08.2021 11:07:15 [Python] (/Applications/Slicer.app/Contents/lib/Slicer-4.11/qt-scripted-modules/SubjectHierarchyPlugins/AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics  
[DEBUG][Qt] 26.08.2021 11:07:15 [] (unknown:0) - Switch to module: “Welcome”  
[INFO][VTK] 26.08.2021 11:07:16 [vtkMRMLVolumeArchetypeStorageNode (0x7fb98de31330)] (/Volumes/D/S/S-1/Libs/MRML/Core/vtkMRMLVolumeArchetypeStorageNode.cxx:509) - Loaded volume from file: /Applications/Slicer.app/Contents/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules/Resources/Vesselness.png. Dimensions: 65x50x1. Number of components: 3. Pixel type: unsigned char.  
[DEBUG][Python] 26.08.2021 11:07:36 [Python] (/Applications/Slicer.app/Contents/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules/VesselnessFiltering.py:260) - onMRMLSceneChanged  
[DEBUG][Python] 26.08.2021 11:07:36 [Python] (/Applications/Slicer.app/Contents/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules/VesselnessFiltering.py:337) - restoreDefaults  
[DEBUG][Qt] 26.08.2021 11:07:36 [] (unknown:0) - Switch to module: “VesselnessFiltering”  
[CRITICAL][Stream] 26.08.2021 11:07:36 [] (unknown:0) - Traceback (most recent call last):  
[CRITICAL][Stream] 26.08.2021 11:07:36 [] (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules/VesselnessFiltering.py”, line 261, in onMRMLSceneChanged  
[CRITICAL][Stream] 26.08.2021 11:07:36 [] (unknown:0) - self.restoreDefaults()  
[CRITICAL][Stream] 26.08.2021 11:07:36 [] (unknown:0) - File “/Applications/Slicer.app/Contents/Extensions-29738/SlicerVMTK/lib/Slicer-4.11/qt-scripted-modules/VesselnessFiltering.py”, line 339, in restoreDefaults  
[CRITICAL][Stream] 26.08.2021 11:07:36 [] (unknown:0) - self.detectPushButton.checked = True  
[CRITICAL][Stream] 26.08.2021 11:07:36 [] (unknown:0) - AttributeError: ‘VesselnessFilteringWidget’ object has no attribute ‘detectPushButton’

I already tried to use the nightly version without success. Can you please help me to fix this? Thanks in advance.

---

<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:** [August 27, 2021, 1:36am UTC](https://discourse.slicer.org/t/failed-to-load-vmtk-libraries-in-vesselness-filtering/19367/2 "2021-08-27T01:36:29Z")

</div>

This is a known regression, we hope that it will be fixed early next week. You can monitor the status (sign up for update notifications) of this issue here:

> <https://github.com/vmtk/SlicerExtension-VMTK/issues/37>
>
> The extension installation package does not contain VMTK binaries, only the Slic…er module .py files, for both latest Slicer Stable Release and Slicer Preview Release on macOS.
> 
> It seems that the recent upgrade to VTK9 broke packaging for VTK-8.2.
