# Installing Slicer Extensions from cmd with python

**URL:** https://discourse.slicer.org/t/installing-slicer-extensions-from-cmd-with-python/32017
**Category:** Support
**Created:** [October 3, 2023, 8:18pm UTC](https://discourse.slicer.org/t/installing-slicer-extensions-from-cmd-with-python/32017 "2023-10-03T20:18:22Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![wesselk](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@wesselk](https://discourse.slicer.org/u/wesselk)
#### Post date: [October 26, 2023, 6:04pm UTC](https://discourse.slicer.org/t/installing-slicer-extensions-from-cmd-with-python/32017/7 "2023-10-26T18:04:56Z")

</div>

Thank you. I am not sure which other dependencies to add at this point. It looks like I have an identical error to [this user](https://discourse.slicer.org/t/vmtk-extension-problem/13699), which you have already identified as a harmless warning.

However, when I run my script which uses ExtractCenterline and CrossSectionAnalysis, centerline extraction works fine but the line “cross\_section\_logic.run()” triggers the following:

> File “/home/qiluser/Slicer/slicer.org/Extensions-31938/SlicerVMTK/lib/Slicer-5.4/qt-scripted-modules/CrossSectionAnalysis.py”, line 871, in run  
> self.updateOutputTable(self.inputCenterlineNode, self.outputTableNode)  
> File “/home/qiluser/Slicer/slicer.org/Extensions-31938/SlicerVMTK/lib/Slicer-5.4/qt-scripted-modules/CrossSectionAnalysis.py”, line 995, in updateOutputTable  
> import vtkSlicerCrossSectionAnalysisModuleLogicPython as vtkSlicerCrossSectionAnalysisModuleLogic  
> ImportError: libvtkSlicerShapeModuleMRML.so: cannot open shared object file: No such file or directory

and I am unable to find anything like ‘SlicerShapeModule’ or related to ‘CrossSectionAnalysis’ as a dependency I could install.

---

_[View the full topic](https://discourse.slicer.org/t/installing-slicer-extensions-from-cmd-with-python/32017)._
