[Insight-users] ITK V4.0.0 with Python Wrapping

Peter peter.bloomfield at camhpet.ca
Fri Dec 23 10:11:19 EST 2011


Hi there,

I am missing something during the compile/installation of ITK V4.0.0 on a 64-bit openSUSE machine. I have used previous versions 
of ITK from within python, but I have missed something under V4.0.0.

From within cmake, I have ticked the boxes 'BUILD_SHARED_LIBS', 'ITK_USE_REVIEW' and 'WRAP_ITK_PYTHON' and generated a Makefile. 
The compilation and install executes without error.

When I go into python, I get the following,
	Python 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC] on linux2
	Type "help", "copyright", "credits" or "license" for more information.
	>>> import itk
	>>> itk.Version
	PySwigIterator not found in module ITKPyBase because of exception:
	 'module' object has no attribute 'PySwigIterator'
	PySwigIterator not found in module ITKPyBase because of exception:
	 'module' object has no attribute 'PySwigIterator'
	<class 'ITKCommonBasePython.itkVersion'>

Any hints or suggestions to resolve this will be most appreciated, thanks

Peter


More information about the Insight-users mailing list