Hello,
Is there a way to verify the version of itk loaded in a python script ?
Thanks
Hello,
Is there a way to verify the version of itk loaded in a python script ?
Thanks
import itk
print( itk.Version.GetITKVersion() )
Indeed… Thanks!
To further elaborate on my rather terse first reply, you can take a look at the definition of the Version class on ITK’s Doxygen,
https://itk.org/Doxygen50/html/classitk_1_1Version.html
There are some other methods for getting the Major or Minor versions or the Build version, if you want something more specific.