# Python console messages

**URL:** https://discourse.slicer.org/t/python-console-messages/42809
**Category:** Support
**Created:** [May 6, 2025, 9:14am UTC](https://discourse.slicer.org/t/python-console-messages/42809 "2025-05-06T09:14:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)
#### Post date: [May 6, 2025, 9:14am UTC](https://discourse.slicer.org/t/python-console-messages/42809/1 "2025-05-06T09:14:11Z")

</div>

Why Slicer can not instantaine for example vtkvmtk, curveMarker other many issues. The messages are the following ones:

Failed to load vtkSlicerCrossSectionAnalysisModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython  
Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython  
Traceback (most recent call last):  
File “”, line 1, in   
File “C:\Users\santiago.pendon\AppData\Local\slicer.org\Slicer 5.6.2\lib\Python\Lib\imp.py”, line 169, in load\_source  
module = \_exec(spec, sys.modules[name])  
File “”, line 613, in \_exec  
File “”, line 850, in exec\_module  
File “”, line 228, in \_call\_with\_frames\_removed  
File “C:/Users/santiago.pendon/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/CurveMaker/lib/Slicer-5.6/qt-scripted-modules/CurveMaker.py”, line 6, in   
from Endoscopy import EndoscopyComputePath  
ImportError: cannot import name ‘EndoscopyComputePath’ from ‘Endoscopy’ (C:\Users\santiago.pendon\AppData\Local\slicer.org\Slicer 5.6.2\lib\Slicer-5.6\qt-scripted-modules\Endoscopy.py)  
[Qt] loadSourceAsModule - Failed to load file “C:/Users/santiago.pendon/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/CurveMaker/lib/Slicer-5.6/qt-scripted-modules/CurveMaker.py” as module “CurveMaker” !  
[Qt] Fail to instantiate module “CurveMaker”  
[Qt] libpng warning: iCCP: profile ‘ICC Profile’: ‘CMYK’: invalid ICC profile color space  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] Error(s):  
[Qt] CLI executable: C:/Users/santiago.pendon/AppData/Local/slicer.org/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerVMTK/lib/Slicer-5.6/qt-loadable-modules/vtkvmtk.py  
[Qt] The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.  
[Qt] Fail to instantiate module “vtkvmtk”  
[Qt] The following modules failed to be instantiated:  
[Qt] vtkvmtk  
[Qt] CurveMaker  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile  
[Qt] libpng warning: iCCP: known incorrect sRGB profile

There is a way to avoid the appearance of this info/solve the issues?

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [May 6, 2025, 10:25am UTC](https://discourse.slicer.org/t/python-console-messages/42809/2 "2025-05-06T10:25:26Z")

</div>

Regarding CurveMaker:

> <https://github.com/Slicer/CurveMaker/issues/16>
>
> Since introduction of curves in Markups module and MarkupsToModel extension, the… CurveMaker extension became redundant.
> 
> Recent rework of the Endoscopy module in Slicer core, the extension has been reported to not work anymore - see https://github.com/Slicer/Slicer/issues/7519
> 
> Instead of fixing the extension, I would recommend stopping development and support of the extension for Slicer-5.7 and later.

Regarding vtkvmtk message:

> <https://github.com/vmtk/SlicerExtension-VMTK/issues/22>
>
> This error is reported at Slicer startup if SlicerVMTK extension is installed:
> …
> \`\`\`
> CLI executable: C:/Users/E/AppData/Roaming/NA-MIC/Extensions-29387/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.
> Fail to instantiate module “vtkvmtk”
> The following modules failed to be instantiated:
> vtkvmtk
> \`\`\`

---

<div class="post-metadata">

### Author: ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)
#### Post date: [May 6, 2025, 10:29am UTC](https://discourse.slicer.org/t/python-console-messages/42809/3 "2025-05-06T10:29:56Z")

</div>

> [@SANTIAGO\_PENDON\_MING](#):
>
> Failed to load vtkSlicerCrossSectionAnalysisModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython  
> Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython

In what version of Slicer are you seeing that? I just checked in a self-built Slicer and they are not apparent. I remember that it was [resolved](https://github.com/Slicer/Slicer/commit/9c875033632aea198791c0960310c165cad487c4) of old.

---

<div class="post-metadata">

### Author: ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)
#### Post date: [May 6, 2025, 10:52am UTC](https://discourse.slicer.org/t/python-console-messages/42809/4 "2025-05-06T10:52:32Z")

</div>

My version is 5.6.2 at this moment
