VTK Modules import errors
Hello! I got this error while coding in python in spyder included in Anaconda runfile('C:/Users/chaabani-k.AD/.spyder-py3/temp.py', wdir='C:/Users/chaabani-k.AD/.spyder-py3') Traceback (most recent call last):
File "C:\Users\chaabani-k.AD.spyder-py3\temp.py", line 51, in mesh_cellCenters = compute_cellCenter(mesh)
File "C:\Users\chaabani-k.AD.spyder-py3\temp.py", line 28, in compute_cellCenter return vtk_to_numpy(cellCenter_filter.GetOutput().GetPoints().GetData())
AttributeError: 'NoneType' object has no attribute 'GetData'
Can you please help me ?
I suspect that the issue is caused by a bug in the VTK library. Can you please help me ?