# KeyError: 'hessian\_recursive\_gaussian\_image\_filter'

**URL:** <https://discourse.itk.org/t/keyerror-hessian-recursive-gaussian-image-filter/3077>\
**Category:** Beginner Questions\
**Created:** [May 15, 2020, 9:39pm UTC](https://discourse.itk.org/t/keyerror-hessian-recursive-gaussian-image-filter/3077 "2020-05-15T21:39:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kashyap](https://discourse.itk.org/user_avatar/discourse.itk.org/kashyap/32/1467_2.png) [@Kashyap](https://discourse.itk.org/u/Kashyap)\
**Post date:** [May 15, 2020, 9:39pm UTC](https://discourse.itk.org/t/keyerror-hessian-recursive-gaussian-image-filter/3077/1 "2020-05-15T21:39:50Z")

</div>

I am following along the [Segment Blood Vessels](https://itk.org/ITKExamples/src/Filtering/ImageFeature/SegmentBloodVessels/Documentation.html) tutorial in Python.

I installed itk `itk-5.1.0` in an anconda enviornment. When running the tutorial I get the following error:

```auto
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-31-294d027f4d70> in <module>
----> 1 hessian_image = itk.hessian_recursive_gaussian_image_filter(original_itk_image, sigma=sigma)

~/opt/anaconda3/envs/venv/lib/python3.7/site-packages/itkLazy.py in __getattribute__ (self, attr)
     54 for k, v in namespace.items():
     55 setattr(self, k, v)
---> 56 value = namespace[attr]
     57 return value
     58 

KeyError: 'hessian_recursive_gaussian_image_filter'

```

My question: Is it a bug in the ITK version or is it something to do with the way it was called? Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Post date:** [May 18, 2020, 2:51pm UTC](https://discourse.itk.org/t/keyerror-hessian-recursive-gaussian-image-filter/3077/2 "2020-05-18T14:51:48Z")

</div>

Hi @Kashyap,

Welcome to the ITK Community! 🌞

What was the installation command used?

---

<div class="post-metadata">

**Author:** ![Kashyap](https://discourse.itk.org/user_avatar/discourse.itk.org/kashyap/32/1467_2.png) [@Kashyap](https://discourse.itk.org/u/Kashyap)\
**Post date:** [May 18, 2020, 4:22pm UTC](https://discourse.itk.org/t/keyerror-hessian-recursive-gaussian-image-filter/3077/3 "2020-05-18T16:22:38Z")

</div>

Hi @matt.mccormick

Thank you for the welcome 🙂

I installed it from conda-forge. It was suggested in this thread: [ITK 4.13.1 has been released!](https://discourse.itk.org/t/itk-4-13-1-has-been-released/1195)

`conda install -c conda-forge itk`

My system specifications:

```auto
macOS Catalina Version 10.15.4 
MacBook Pro (13-inch, 2018) 

```

Thanks

---

<div class="post-metadata">

**Author:** ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Post date:** [June 10, 2020, 2:40pm UTC](https://discourse.itk.org/t/keyerror-hessian-recursive-gaussian-image-filter/3077/4 "2020-06-10T14:40:43Z")

</div>

Hi @Kashyap,

Please try reinstalling from conda-forge for an updated version.

Thanks,  
Matt
