# SimpleITK-SimpleElastix- can't install different release versions

**URL:** https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272
**Category:** Beginner Questions
**Tags:** release
**Created:** [November 2, 2023, 1:41pm UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272 "2023-11-02T13:41:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![edelarosa](https://discourse.itk.org/user_avatar/discourse.itk.org/edelarosa/32/3745_2.png) [@edelarosa](https://discourse.itk.org/u/edelarosa)
#### Post date: [November 2, 2023, 1:41pm UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272/1 "2023-11-02T13:41:13Z")

</div>

Hello,

I am trying to download SimpleITK-SImpleElastix 2.0.0rc2.dev910 from [SimpleITK-SimpleElastix · PyPI](https://pypi.org/project/SimpleITK-SimpleElastix/2.0.0rc2.dev910/) using pip, but the following error appears:

> ERROR: Could not find a version that satisfies the requirement SimpleITK-SimpleElastix==2.0.0rc2.dev910 (from versions: 2.0.0rc2.dev909)  
> ERROR: No matching distribution found for SimpleITK-SimpleElastix==2.0.0rc2.dev910

I have realized that the only release version that can be downloaded is the 2.0.0rc2.dev909.  
As I need this specific version of the package, how can I access it?

Thanks in advance.  
Kind regards,  
Ezequiel

---

<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: [November 2, 2023, 2:32pm UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272/2 "2023-11-02T14:32:22Z")

</div>

Hello @edelarosa,

The package you are pointing to is not supported by the core SimpleITK team, it is an external initiative. We currently do not distribute a SimpleITK wheel with SimpleElastix support.

To build one locally, see the [building SimpleITK instructions](https://simpleitk.readthedocs.io/en/master/building.html) and set the SimpleITK\_USE\_ELASTIX flag to on. To select a specific version of SimpleITK simply checkout the appropriate tag (support for SimpleElastix was only added in [release 2.2.0](https://github.com/SimpleITK/SimpleITK/releases/tag/v2.2.0)).

---

<div class="post-metadata">

### Author: ![edelarosa](https://discourse.itk.org/user_avatar/discourse.itk.org/edelarosa/32/3745_2.png) [@edelarosa](https://discourse.itk.org/u/edelarosa)
#### Post date: [November 3, 2023, 12:16am UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272/3 "2023-11-03T00:16:28Z")

</div>

Thanks for the fast reply @zivy and the valuable suggestion!  
Best,  
Ezequiel

---

<div class="post-metadata">

### Author: ![nkls](https://discourse.itk.org/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@nkls](https://discourse.itk.org/u/nkls)
#### Post date: [April 18, 2024, 9:01am UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272/4 "2024-04-18T09:01:06Z")

</div>

Hello @zivy ,

I get an error, when I want to install the SimpleITK Version 2.2.0. Do you have a hint for me, how I can install that specific version? I want to use ElastixImageFilter class. This is the error that comes up:

ERROR: Could not find a version that satisfies the requirement SimpleITK==2.2.0 (from versions: 1.0.1, 1.2.0, 2.1.0, 2.1.1.2, 2.2.1, 2.3.0, 2.3.1)  
ERROR: No matching distribution found for SimpleITK==2.2.0

---

<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: [April 18, 2024, 12:54pm UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272/5 "2024-04-18T12:54:41Z")

</div>

Hello @nkls,

The error message is a bit strange as there is a Python binary distribution for 2.2.0 (assuming you are working in Python).

In any case, SimpleITK binary distributions do not include SimpleElastix which is what you want. You probably also want to use the latest version of SimpleITK and not 2.2.0 (that’s just the first version which contains SimpleElastix).

The solution is to build SimpleITK using it’s SuperBuild configuration on your local machine. You will need to turn on the SimpleITK\_USE\_ELASTIX and the relevant WRAP\_LANGUAGE flags for the programming language you want. Please see the [build instructions here](https://simpleitk.readthedocs.io/en/master/building.html).

---

<div class="post-metadata">

### Author: ![nkls](https://discourse.itk.org/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@nkls](https://discourse.itk.org/u/nkls)
#### Post date: [April 22, 2024, 6:50am UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272/6 "2024-04-22T06:50:37Z")

</div>

Thanks a lot for your quick help!
