6/9/2023 0 Comments Install vtk for python3 macbe sure to install OpenGL developer libraries so that you can compile VTK too. It is nice to build be able to prototype ITK/VTK in python without having to build from scratch. You should be able to do this assignment on Windows, Mac, or Linux/UNIX. This requires Module_ITKVtkGlue to be turned on in ITK’s CMake configuration. Value = types.ModuleType._getattribute_(self, attr)ĪttributeError: module 'itk' has no attribute 'ImageToVTKImageFilter' > itk_vtk_converter = ()įile "/Users/babesler/anaconda3/envs/imapro/lib/python3.6/site-packages/itkLazy.py", line 40, in _getattribute_ Quickly trying I get the following error: $ conda create -n proc python=3 Download the VTK source from the Downloads page. I am trying to use ITK and VTK together in python. If you want the newest version VTK, you can also build it yourself: Make sure CMake is installed: sudo apt-get install cmake.
0 Comments
Leave a Reply. |