# How to use XDMF3 reader in python

**URL:** https://discourse.vtk.org/t/how-to-use-xdmf3-reader-in-python/9682
**Category:** Support
**Created:** [October 26, 2022, 7:59am UTC](https://discourse.vtk.org/t/how-to-use-xdmf3-reader-in-python/9682 "2022-10-26T07:59:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RemDelaporteMathurin](https://discourse.vtk.org/user_avatar/discourse.vtk.org/remdelaportemathurin/32/5401_2.png) [@RemDelaporteMathurin](https://discourse.vtk.org/u/RemDelaporteMathurin)
#### Post date: [October 26, 2022, 7:59am UTC](https://discourse.vtk.org/t/how-to-use-xdmf3-reader-in-python/9682/1 "2022-10-26T07:59:23Z")

</div>

Hi all,

We are trying to [include an XDMF3 reader in pyvista](https://github.com/pyvista/pyvista/pull/2839), however we can’t find a way to import xdmf3 from `vtkmodules`, only xdmf2

```python
from vtkmodules.vtkIOXdmf2 import vtkXdmfReader

```

The following doesn’t work:

```auto
from vtkmodules.vtkIOXdmf3 import vtkXdmfReader

```

Do you have any idea?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [October 26, 2022, 1:21pm UTC](https://discourse.vtk.org/t/how-to-use-xdmf3-reader-in-python/9682/2 "2022-10-26T13:21:31Z")

</div>

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).
