[ITK] ItkVtkGlue
Matt McCormick
matt.mccormick at kitware.com
Wed Apr 5 15:57:45 EDT 2017
Hi Manuel,
I was able to create an import error, and then it was resolved by
adding the directory with the file vtkImagingCorePython35D-7.1.dll to
the PATH environmental variable.
Hope this helps,
Matt
On Mon, Apr 3, 2017 at 3:23 PM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> Hi Manuel,
>
> Thanks for discussing the issue.
>
> I will see if I can reproduce the problem.
>
> Thanks,
> Matt
>
> On Tue, Mar 28, 2017 at 11:31 AM, Manuel Alejandro Castro Fuentes
> <mafuentes at uclv.cu> wrote:
>> 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
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/mailman/listinfo/community
More information about the Community
mailing list