Closed lorinczszabolcs closed 1 year ago
What is the exact error message?
Hi! Thank you for getting back so quickly. Unfortunately, there is no output shown except Segmentation fault
.
Which OS are you working on? Did you pip install
everything, or did you use some other method? If you upgraded ITK from some previous version, it is worthwhile to manually clean up all itk*
stuff in your site-pacakges, and then install again.
@tbirdso do you have further suggestions?
I'm working on Ubuntu 20.04.4 LTS inside WSL2. I created a new virtual env, and used
python -m pip install --upgrade pip
python -m pip install itk-morphologicalcontourinterpolation
I will start from scratch again, to see if I messed up something, will let you know if it worked.
Seems like a clean virtual env and only installing this package solved the issue, so I will close this for now. I will let you know if I find some package incompatibility meanwhile. Thank you for the quick help!
Hi!
I have been trying to make the interpolation work, but no matter what I try, it still returns segmentation fault, even for the official python example script with the provided sample data (SevenLabels.nrrd).
Package versions:
Script for reproducing error:
Attached you can find the file just in case. SevenLabels.zip
EDIT: Upon debugging I found that this line is failing: https://github.com/InsightSoftwareConsortium/ITK/blob/835dc01388d22c4b4c9a46b01dbdfe394ec23511/Wrapping/Generators/Python/PyBase/pyBase.i#L389
Thank you for your help in advance!