# External dependency import failing in DiffusionQC Python test

**URL:** <https://discourse.slicer.org/t/external-dependency-import-failing-in-diffusionqc-python-test/32645>\
**Category:** Development\
**Tags:** testing\
**Created:** [November 7, 2023, 4:55pm UTC](https://discourse.slicer.org/t/external-dependency-import-failing-in-diffusionqc-python-test/32645 "2023-11-07T16:55:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhlegarreta](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jhlegarreta/32/66542_2.png) [@jhlegarreta](https://discourse.slicer.org/u/jhlegarreta)\
**Post date:** [November 7, 2023, 4:55pm UTC](https://discourse.slicer.org/t/external-dependency-import-failing-in-diffusionqc-python-test/32645/1 "2023-11-07T16:55:41Z")

</div>

Hi,  
I’ve noticed that the `DiffusionQC` extension module’s test has been failing for a while:  
[CDash](https://slicer.cdash.org/viewTest.php?onlyfailed&buildid=3202379)

also mentioned in:  
[Fix import errors by lassoan · Pull Request #47 · pnlbwh/SlicerDiffusionQC · GitHub](https://github.com/pnlbwh/SlicerDiffusionQC/pull/47#issuecomment-1111096502)

And this happens despite `plumbum` being specified in the `setup.py` in the `install_requires` dependencies:  
[https://github.com/pnlbwh/SlicerDiffusionQC/blob/cc785145b301c8b8797099ec1527aceb4b90679a/diffusionqclib/setup.py#L16](https://github.com/pnlbwh/SlicerDiffusionQC/blob/cc785145b301c8b8797099ec1527aceb4b90679a/diffusionqclib/setup.py#L16)

I’ve also seen that @jcfr did a PR a long time ago:  
[Pull requests · pnlbwh/SlicerDiffusionQC · GitHub](https://github.com/pnlbwh/SlicerDiffusionQC/pulls)

I haven’t got merge rights, so I cannot do much about it. It’d probably address the config issues of the module, but the test issue is probably unrelated.

So concerning the test, is there something that the extension Python code is missing?

Thanks.
