MSco
MSco

Reputation: 131

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).

Upvotes: 1

Views: 842

Answers (2)

MSco
MSco

Reputation: 131

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.

Upvotes: 1

Dženan
Dženan

Reputation: 3395

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.

Upvotes: 1

Related Questions