Hello Everyone,<br><br>I am trying to install PyBuffer with WrapITK. I built and installed ITK 4.0 setting the following flags:<br><br>BUILD_SHARED_LIBRARIES<br>ITK_USE_REVIEW<br>USE_WRAP_ITK<br>WRAP_ITK_PYTHON<br><br>The build and install went fine. I was able to <span style="font-family: georgia,serif;">import itk</span> in python.<br>
<br>1. When I instantiate an image using itk.Image, it gives me a warning:<br> <br><span style="font-family: georgia,serif;">Warning: Unknown parameter 'std::string' in template 'itk::MetaDataObject'</span><br style="font-family: georgia,serif;">
<span style="font-family: georgia,serif;"><itkTemplate itk::Image></span><br><br>2. I built and installed PyBuffer too. I gave the same CMAKE_INSTALL_PREFIX as WRAP_ITK. I observe that it has placed 4 new files in the installation directory, namely,<br>
<br>BufferConversion.py<br>BufferConversionPython.py<br>_BufferConversionPython.so<br>itkPyBufferPython.py<br><br>However, when I try to use PyBuffer (itk.PyBuffer) it gives me an error:<br> <br>File "ITK/install/lib/ITK-4.0/Python/itkLazy.py", line 33, in __getattribute__<br>
value = types.ModuleType.__getattribute__(self, attr)<br>AttributeError: 'LazyITKModule' object has no attribute 'PyBuffer'<br><br>I can't figure out how to make the module available under ITK.<br>
I would appreciate any help in this matter. Thank you very much.<br><br>Sankhesh Jhaveri<br>