# When running slicer.cli.run, an error occurs.

**URL:** <https://discourse.slicer.org/t/when-running-slicer-cli-run-an-error-occurs/40317>\
**Category:** Development\
**Tags:** python, monai-auto3dseg\
**Created:** [November 21, 2024, 10:17pm UTC](https://discourse.slicer.org/t/when-running-slicer-cli-run-an-error-occurs/40317 "2024-11-21T22:17:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fallen\_leaves](https://avatars.discourse-cdn.com/v4/letter/f/94ad74/32.png) [@fallen\_leaves](https://discourse.slicer.org/u/fallen_leaves)\
**Post date:** [November 21, 2024, 10:17pm UTC](https://discourse.slicer.org/t/when-running-slicer-cli-run-an-error-occurs/40317/1 "2024-11-21T22:17:18Z")

</div>

When running slicer.cli.run, an error occurs. As shown below:

 ![1732174678565](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/7/67f2c1445a695041d1099e3533dbebefa42d9a71.png)  
The code is shown in the figure  
 ![1732174780048](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/8/e805e88db6e9ebfe36d65bea8c0f63cb56f1454c.png)

Could you please tell me how to solve this?
