# Import DICOMSegmentationPlugin does not work in preview release

**URL:** <https://discourse.slicer.org/t/import-dicomsegmentationplugin-does-not-work-in-preview-release/22289>\
**Category:** Support\
**Created:** [March 3, 2022, 3:52pm UTC](https://discourse.slicer.org/t/import-dicomsegmentationplugin-does-not-work-in-preview-release/22289 "2022-03-03T15:52:53Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [March 4, 2022, 12:04am UTC](https://discourse.slicer.org/t/import-dicomsegmentationplugin-does-not-work-in-preview-release/22289/6 "2022-03-04T00:04:08Z")

</div>

Are you trying to replicate this example?  
[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#export-a-segmentation-to-dicom-segmentation-object](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#export-a-segmentation-to-dicom-segmentation-object)

According to this statement in Slicer core, the “DICOMSegmentationPlugin” comes from a Slicer extension. You would need to install Quantitative Reporting before being able to `import DICOMSegmentationPlugin`.

> <https://github.com/Slicer/Slicer/blob/7cef1fff130116376f81882470bd314c22199fdf/Modules/Scripted/DICOMPlugins/DICOMScalarVolumePlugin.py#L269-L270>

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/d/fd7299bb8ec6e597ba09bbf44a229810355558c9.png)

@pieper This probably brings up a point that the Script Repository needs to make mentions of any dependent extensions that are required for various examples.

---

_[View the full topic](https://discourse.slicer.org/t/import-dicomsegmentationplugin-does-not-work-in-preview-release/22289)._
