# Build errors : ITK Module Python Wrapping

**URL:** https://discourse.itk.org/t/build-errors-itk-module-python-wrapping/853
**Category:** Engineering
**Tags:** python, module, cmake
**Created:** [April 19, 2018, 10:47am UTC](https://discourse.itk.org/t/build-errors-itk-module-python-wrapping/853 "2018-04-19T10:47:39Z")
**Posts on this page:** 1
**Showing post:** 23

<div class="post-metadata">

### Author: ![T4mmi](https://discourse.itk.org/user_avatar/discourse.itk.org/t4mmi/32/311_2.png) [@T4mmi](https://discourse.itk.org/u/T4mmi)
#### Post date: [June 1, 2018, 1:55pm UTC](https://discourse.itk.org/t/build-errors-itk-module-python-wrapping/853/23 "2018-06-01T13:55:29Z")

</div>

Could not find the reason why it doesn’t work on mac …  
I do suspect a problem with travis build but to be fair I did not investigate further.

Last ‘problem’ that I’m facing that you may help with concerns the versionning / dependencies requirements. Since I’ve build the module for both ITK 4 & 5, I would like to distribute them through PyPI. I created two versions (4.x and 5.x, one from each branch - yes bad naming of the versions) but `pip install` fails with `ITK 4.13`, I do have to force `pip install module==4.x` …  
Does it come from the version numbering ? is there a ‘standard’ way to do this without forcing the upgrade to `ITK v5` ?

_if someone have an answer it might be a good addition to the [external module tuto](https://discourse.itk.org/t/itk-external-module-github-builds-for-4-x-and-5-x/900)_

---

_[View the full topic](https://discourse.itk.org/t/build-errors-itk-module-python-wrapping/853)._
