# What is wrong with this module HD Brain Extractction Tool

**URL:** https://discourse.slicer.org/t/what-is-wrong-with-this-module-hd-brain-extractction-tool/22964
**Category:** Support
**Tags:** segmentation
**Created:** [April 14, 2022, 1:33pm UTC](https://discourse.slicer.org/t/what-is-wrong-with-this-module-hd-brain-extractction-tool/22964 "2022-04-14T13:33:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![slicer365](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/slicer365/32/67549_2.png) [@slicer365](https://discourse.slicer.org/u/slicer365)
#### Post date: [April 14, 2022, 1:33pm UTC](https://discourse.slicer.org/t/what-is-wrong-with-this-module-hd-brain-extractction-tool/22964/1 "2022-04-14T13:33:11Z")

</div>

![1649943074(1)](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/c/fc50ef930d4eb88028117bab4e2e6bf5145e5015.png)

Traceback (most recent call last):  
File “D:\MedSofts\Slicer\Slicer 4.13.0-2022-03-25\bin\Python\slicer\util.py”, line 2766, in tryWithErrorDisplay  
yield  
File “D:/MedSofts/Slicer/Slicer 4.13.0-2022-03-25/NA-MIC/Extensions-30741/HDBrainExtraction/lib/Slicer-4.13/qt-scripted-modules/HDBrainExtractionTool.py”, line 227, in onApplyButton  
self.logic.setupPythonRequirements()  
File “D:/MedSofts/Slicer/Slicer 4.13.0-2022-03-25/NA-MIC/Extensions-30741/HDBrainExtraction/lib/Slicer-4.13/qt-scripted-modules/HDBrainExtractionTool.py”, line 301, in setupPythonRequirements  
slicer.util.pip\_install(‘git+https://github.com/MIC-DKFZ/batchgenerators#egg=batchgenerators’)  
File “D:\MedSofts\Slicer\Slicer 4.13.0-2022-03-25\bin\Python\slicer\util.py”, line 3333, in pip\_install  
\_executePythonModule(‘pip’, args)  
File “D:\MedSofts\Slicer\Slicer 4.13.0-2022-03-25\bin\Python\slicer\util.py”, line 3307, in \_executePythonModule  
logProcessOutput(proc)  
File “D:\MedSofts\Slicer\Slicer 4.13.0-2022-03-25\bin\Python\slicer\util.py”, line 3276, in logProcessOutput  
raise CalledProcessError(retcode, proc.args, output=proc.stdout, stderr=proc.stderr)  
subprocess.CalledProcessError: Command ‘[‘D:/MedSofts/Slicer/Slicer 4.13.0-2022-03-25/bin/…/bin\PythonSlicer.EXE’, ‘-m’, ‘pip’, ‘install’, ‘git+https://github.com/MIC-DKFZ/batchgenerators#egg=batchgenerators’]’ returned non-zero exit status 1.

---

<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: [April 14, 2022, 11:19pm UTC](https://discourse.slicer.org/t/what-is-wrong-with-this-module-hd-brain-extractction-tool/22964/2 "2022-04-14T23:19:46Z")

</div>

Please check the application log for the root cause of the error. If you don’t find the error message there then you can open a Windows command prompt and type the install command there:

```nohighlight
"D:/MedSofts/Slicer/Slicer 4.13.0-2022-03-25/bin/PythonSlicer.EXE" 
-m pip install git+https://github.com/MIC-DKFZ/batchgenerators#egg=batchgenerators

```
