How to use XDMF3 reader in python

Hi all,

We are trying to include an XDMF3 reader in pyvista, however we can’t find a way to import xdmf3 from vtkmodules, only xdmf2

from vtkmodules.vtkIOXdmf2 import vtkXdmfReader

The following doesn’t work:

from vtkmodules.vtkIOXdmf3 import vtkXdmfReader

Do you have any idea?

1 Like

Xdmf3 requires Boost which is an external dependency. VTK’s PyPI wheels do not ship with external dependencies in order to not cause conflicts if any other wheel decides to do the same. You’ll need to build your own wheel (or use something like Conda which understands non-Python dependencies).

1 Like