[ITK] ItkVtkGlue
Manuel Alejandro Castro Fuentes
mafuentes at uclv.cu
Tue Mar 28 11:31:40 EDT 2017
Hello
I'm building InsightToolkit-4.11.0 on Visual Studio 2015 with
ITK_WRAP_PYTHON=ON and Module_ITKVtkGlue=ON, for Python 3.5.3 and VTK
7.1.0. The building process has no errors but when I try something like:
filter = itk.ImageToVTKImageFilter[itk.Image[itk.UC, 3]].New()
I got this error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File
"D:\Builds\ITK-4.11.0\Wrapping\Generators\Python\Release\itkLazy.py",
line 44, in __getattribute__
itkBase.LoadModule(module, namespace)
File
"D:\Builds\ITK-4.11.0\Wrapping\Generators\Python\Release\itkBase.py",
line 63, in LoadModule
swig.__dict__.update(this_module.swig.__dict__)
AttributeError: module 'ITKVtkGlue' has no attribute 'swig'
Other modules work just fine as far as I have tried. I have done some
things with ITK+VTK+Python but using the Python(x,y) distribution, this
is the first time I'm building them from the source and wrapping them
for Python. If anyone can point me in the direction of a solution or an
answer as to what this may happen will be greatly appreciated.
Thanks in advance
Manuel
More information about the Community
mailing list