'Cannot install antspyx (no local ITK installation found, but ITK is installed)
I tried to install antspyx via pip install antspyx.
Why does pip not found my local ITK installation? It is installed in /usr/lib (package insight-toolkit installed via pacman).
Solution 1:[1]
Ok, I managed the No local ITK installation found message by setting the environment variable ITK_DIR=/usr/lib/cmake/ITK-5.2.
Additionally, I had to set the option -DModule_GenericLabelInterpolator:BOOL=ON in the itk pkgbuild file to avoid further issues.
Solution 2:[2]
Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmImageChangePhotometricInterpretation.h:67:64: error: 'numeric_limits' is not a member of 'std'
This is probably related to the version of your compiler. Or maybe ANTs build script has some errors in it. Best place for fowllow-up is ANTs issue tracker.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | MSco |
| Solution 2 | Dženan |
