# AttributeError: module 'SimpleITK' has no attribute 'sitkNearestNeighbour'

**URL:** https://discourse.itk.org/t/attributeerror-module-simpleitk-has-no-attribute-sitknearestneighbour/3729
**Category:** Engineering
**Created:** [December 22, 2020, 12:32pm UTC](https://discourse.itk.org/t/attributeerror-module-simpleitk-has-no-attribute-sitknearestneighbour/3729 "2020-12-22T12:32:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Eddardaa\_ben\_loussai](https://discourse.itk.org/user_avatar/discourse.itk.org/eddardaa_ben_loussai/32/1838_2.png) [@Eddardaa\_ben\_loussai](https://discourse.itk.org/u/Eddardaa_ben_loussai)
#### Post date: [December 22, 2020, 12:32pm UTC](https://discourse.itk.org/t/attributeerror-module-simpleitk-has-no-attribute-sitknearestneighbour/3729/1 "2020-12-22T12:32:12Z")

</div>

Hi everyone,  
I trying to resize my medical dataset (format .mhd), however i had this error: AttributeError: module ‘SimpleITK’ has no attribute ‘sitkNearestNeighbour’  
anyone have idea, please let me know.  
thank you in advance

---

<div class="post-metadata">

### Author: ![zivy](https://discourse.itk.org/user_avatar/discourse.itk.org/zivy/32/1726_2.png) [@zivy](https://discourse.itk.org/u/zivy)
#### Post date: [December 22, 2020, 1:56pm UTC](https://discourse.itk.org/t/attributeerror-module-simpleitk-has-no-attribute-sitknearestneighbour/3729/2 "2020-12-22T13:56:50Z")

</div>

This question was asked and answered as a [SimpleITK GitHub issue](https://github.com/SimpleITK/SimpleITK/issues/1279#issuecomment-749241415).

SimpleITK uses US spelling, Neighbor not Neighbour.

Please avoid cross posting.
